-
Notifications
You must be signed in to change notification settings - Fork 18
/
Copy pathmake.sh
53 lines (42 loc) · 778 Bytes
/
make.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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
set -e
cd src
while getopts ":pdf" opt; do
case $opt in
p)
echo "installing packages"
cd warpgrad
pip install -e .
cd ../leap
pip install -e .
cd ../maml
pip install -e .
cd ..
echo "done"
;;
d)
echo "Getting data"
cd omniglot
bash getdata.sh
cd ..
echo "done"
;;
l)
echo "making log dirs"
cd omniglot
mkdir -p logs
mkdir -p logs/warp_leap
mkdir -p logs/leap
mkdir -p logs/reptile
mkdir -p logs/maml
mkdir -p logs/fomaml
mkdir -p logs/ft
mkdir -p logs/no
echo "done"
cd ..
cd ..
;;
\?)
echo "Invalid option: -$OPTARG"
;;
esac
done