-
Notifications
You must be signed in to change notification settings - Fork 278
/
setup.sh
executable file
·21 lines (15 loc) · 1.13 KB
/
setup.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/bin/sh
echo "Disabling Mac translocation"
/usr/bin/xattr -cr .
echo "Downloading shape_predictor_68_face_landmarks.dat"
curl -L -o data/shape_predictor_68_face_landmarks.dat.bz2 --progress-bar https://sourceforge.net/projects/dclib/files/dlib/v18.10/shape_predictor_68_face_landmarks.dat.bz2
echo "Extracting shape_predictor_68_face_landmarks.dat"
bzip2 -d data/shape_predictor_68_face_landmarks.dat.bz2
echo "Downloading image-net-2012.sqlite3 and image-net-2012.words"
curl -L -o data/image-net-2012.sqlite3 --progress-bar https://raw.githubusercontent.com/liuliu/ccv/unstable/samples/image-net-2012.sqlite3
curl -L -o data/image-net-2012.words --progress-bar https://raw.githubusercontent.com/liuliu/ccv/unstable/samples/image-net-2012.words
echo "Downloading darknet files"
curl -L -o data/darknet/darknet.cfg --progress-bar https://github.com/pjreddie/darknet/blob/master/cfg/darknet.cfg
curl -L -o data/darknet/imagenet.shortnames.list --progress-bar https://github.com/pjreddie/darknet/blob/master/cfg/imagenet.shortnames.list
curl -L -o data/darknet/darknet.weights --progress-bar http://pjreddie.com/media/files/darknet.weights
echo "Done"