-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.sh
executable file
·27 lines (24 loc) · 946 Bytes
/
setup.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#!/usr/bin/zsh
# pacaur -S cblas
# pacaur -S google-glog gflags lmdb hdf5 opencv2 atlas-lapack boost boost-libs ilmbase
#if atlast-lapack pacaur insstall doesnt work
#git clone https://aur.archlinux.org/atlas-lapack.git
#cd atlas-lapack
#nano PKGBUILD
# add --cripple-atlas-performance to ./configure command
#makepkg -si
# cd /usr/lib64
# sudo ln -s libcblas.so libcblas.so.3
# sudo ln -s libIlmImf-2_2.so.23 libIlmImf-2_2.so.22
# sudo ln -s libIex-2_2.so.23 libIex-2_2.so.12
# sudo ln -s libHalf.so.23.0.0 libHalf.so.12
# sudo ln -s libIlmThread-2_2.so.23 libIlmThread-2_2.so.12
mkdir -p models/bvlc_reference_caffenet
cd ml_data
wget http://dl.caffe.berkeleyvision.org/bvlc_reference_caffenet.caffemodel
mv bvlc_reference_caffenet.caffemodel models/bvlc_reference_caffenet/
mkdir -p ilsvrc12
cd ilsvrc12
wget -c http://dl.caffe.berkeleyvision.org/caffe_ilsvrc12.tar.gz
tar -xf caffe_ilsvrc12.tar.gz && rm -f caffe_ilsvrc12.tar.gz
cd ../..