Use https for the model downloads.

This commit is contained in:
Brandon Amos 2017-02-07 13:43:42 -05:00
parent ec25aecb0d
commit 96b45fd0eb
No known key found for this signature in database
GPG Key ID: E9B7164CB72D6B6F
5 changed files with 9 additions and 9 deletions

View File

@ -24,7 +24,7 @@ script:
cd /root/src/openface; \
./models/get-models.sh && \
./data/download-lfw-subset.sh && \
wget -nv http://cmusatyalab.org/openface-models/nn4.v1.t7 \
wget -nv https://cmusatyalab.org/openface-models/nn4.v1.t7 \
-O ./models/openface/nn4.v1.t7 && \
python2 setup.py install && \
./run-tests.sh"

View File

@ -160,7 +160,7 @@ if __name__ == '__main__':
help="Path to Torch network model.",
default='nn4.small2.3d.v1.t7')
# Download the 3D model from:
# http://storage.cmusatyalab.org/openface-models/nn4.small2.3d.v1.t7
# https://storage.cmusatyalab.org/openface-models/nn4.small2.3d.v1.t7
parser.add_argument('--imgDim', type=int,
help="Default image dimension.", default=96)
parser.add_argument(

View File

@ -77,6 +77,6 @@ To run this on your computer:
1. [Set up OpenFace](http://cmusatyalab.github.io/openface/setup/).
2. Download the 3D model from
[here](http://storage.cmusatyalab.org/openface-models/nn4.small2.3d.v1.t7).
[here](https://storage.cmusatyalab.org/openface-models/nn4.small2.3d.v1.t7).
3. Run [demos/sphere.py](https://github.com/cmusatyalab/openface/blob/master/demos/sphere.py)
with the `--networkModel` argument pointing to the 3D model.

View File

@ -29,10 +29,10 @@ and [CASIA-WebFace](http://arxiv.org/abs/1411.7923).
The models can be downloaded from our storage servers:
+ [nn4.v1](http://storage.cmusatyalab.org/openface-models/nn4.v1.t7)
+ [nn4.v2](http://storage.cmusatyalab.org/openface-models/nn4.v2.t7)
+ [nn4.small1.v1](http://storage.cmusatyalab.org/openface-models/nn4.small1.v1.t7)
+ [nn4.small2.v1](http://storage.cmusatyalab.org/openface-models/nn4.small2.v1.t7)
+ [nn4.v1](https://storage.cmusatyalab.org/openface-models/nn4.v1.t7)
+ [nn4.v2](https://storage.cmusatyalab.org/openface-models/nn4.v2.t7)
+ [nn4.small1.v1](https://storage.cmusatyalab.org/openface-models/nn4.small1.v1.t7)
+ [nn4.small2.v1](https://storage.cmusatyalab.org/openface-models/nn4.small2.v1.t7)
API differences between the models are:

View File

@ -43,12 +43,12 @@ if [ ! -f openface/nn4.small2.v1.t7 ]; then
printf "====================================================\n\n"
wget -nv \
http://storage.cmusatyalab.org/openface-models/nn4.small2.v1.t7 \
https://storage.cmusatyalab.org/openface-models/nn4.small2.v1.t7 \
-O openface/nn4.small2.v1.t7
[ $? -eq 0 ] || ( rm openface/nn4.small2.v1.t7* && die "+ nn4.small2.v1.t7: Error in wget." )
wget -nv \
http://storage.cmusatyalab.org/openface-models/celeb-classifier.nn4.small2.v1.pkl \
https://storage.cmusatyalab.org/openface-models/celeb-classifier.nn4.small2.v1.pkl \
-O openface/celeb-classifier.nn4.small2.v1.pkl
[ $? -eq 0 ] || ( rm openface/celeb-classifier.nn4.small2.v1.pkl && \
die "+ celeb-classifier.nn4.small2.v1.pkl: Error in wget." )