Use https for the model downloads.

上级 ec25aecb
......@@ -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"
......@@ -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(
......
......@@ -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.
......@@ -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:
......
......@@ -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." )
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册