-
Notifications
You must be signed in to change notification settings - Fork 0
/
run_small.sh
executable file
·43 lines (40 loc) · 1.1 KB
/
run_small.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
#!/bin/bash
# Check if an argument was provided
if [ -z "$1" ]; then
echo "Usage: $0 {bunny|dragon|happy|armadillo|drill|lucy|all}"
exit 1
fi
# Run commands with different seeds
case "$1" in
bunny)
python -m tropical.stanford.train -e -m small -d $1 -s 1
;;
dragon)
python -m tropical.stanford.train -e -m small -d $1 -s 4
;;
happy)
python -m tropical.stanford.train -e -m small -d $1 -s 2
;;
armadillo)
python -m tropical.stanford.train -e -m small -d $1 -s 1
;;
drill)
python -m tropical.stanford.train -e -m small -d $1 -s 9
;;
lucy)
python -m tropical.stanford.train -e -m small -d $1 -s 13
;;
all)
python -m tropical.stanford.train -e -m small -d bunny -s 1
python -m tropical.stanford.train -e -m small -d dragon -s 4
python -m tropical.stanford.train -e -m small -d happy -s 2
python -m tropical.stanford.train -e -m small -d armadillo -s 1
python -m tropical.stanford.train -e -m small -d drill -s 9
python -m tropical.stanford.train -e -m small -d lucy -s 13
;;
*)
echo "Invalid option."
exit 1
;;
esac
exit 0