-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.sh
More file actions
executable file
·30 lines (29 loc) · 1.67 KB
/
setup.sh
File metadata and controls
executable file
·30 lines (29 loc) · 1.67 KB
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
28
29
30
#curl -sSL "https://julialang-s3.julialang.org/bin/linux/x64/1.1/julia-1.1.0-linux-x86_64.tar.gz" -o julia.tar.gz
#tar -xzf julia.tar.gz -C /usr --strip-components 1
#rm -rf julia.tar.gz*
#julia -e 'using Pkg; pkg"add IJulia; add Flux; precompile"'
#julia -e 'using Pkg; pkg"add CuArrays; precompile"'
#git pull
#git clone https://github.com/ndrplz/small_norb
#cd small_norb/smallnorb
#os.chdir('/content/WGAN/small_norb/smallnorb')
#wget https://cs.nyu.edu/~ylclab/data/norb-v1.0-small/smallnorb-5x46789x9x18x6x2x96x96-training-dat.mat.gz
#wget https://cs.nyu.edu/~ylclab/data/norb-v1.0-small/smallnorb-5x46789x9x18x6x2x96x96-training-cat.mat.gz
#wget https://cs.nyu.edu/~ylclab/data/norb-v1.0-small/smallnorb-5x46789x9x18x6x2x96x96-training-info.mat.gz
#wget https://cs.nyu.edu/~ylclab/data/norb-v1.0-small/smallnorb-5x01235x9x18x6x2x96x96-testing-dat.mat.gz
#wget https://cs.nyu.edu/~ylclab/data/norb-v1.0-small/smallnorb-5x01235x9x18x6x2x96x96-testing-cat.mat.gz
#wget https://cs.nyu.edu/~ylclab/data/norb-v1.0-small/smallnorb-5x01235x9x18x6x2x96x96-testing-info.mat.gz
#gunzip smallnorb-5x46789x9x18x6x2x96x96-training-dat.mat.gz
#gunzip smallnorb-5x46789x9x18x6x2x96x96-training-cat.mat.gz
#gunzip smallnorb-5x46789x9x18x6x2x96x96-training-info.mat.gz
#gunzip smallnorb-5x01235x9x18x6x2x96x96-testing-dat.mat.gz
#gunzip smallnorb-5x01235x9x18x6x2x96x96-testing-cat.mat.gz
#gunzip smallnorb-5x01235x9x18x6x2x96x96-testing-info.mat.gz
#cd ..
#os.chdir('/content/WGAN/small_norb')
#python3 main.py
julia -e 'using Pkg; pkg"add BSON; add Images; add ImageMagick; add Plots; precompile"'
julia -e 'using Pkg; pkg"add FileIO; add Juno; add NNlib; precompile"'
#cd ..
#os.chdir('/content/WGAN')
#!julia main.jl