-
Notifications
You must be signed in to change notification settings - Fork 0
/
run_large.sh
executable file
·43 lines (40 loc) · 1.11 KB
/
run_large.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 large -d $1 -s 31
;;
dragon)
python -m tropical.stanford.train -e -m large -d $1 -s 13
;;
happy)
python -m tropical.stanford.train -e -m large -d $1 -s 6
;;
armadillo)
python -m tropical.stanford.train -e -m large -d $1 -s 2
;;
drill)
python -m tropical.stanford.train -e -m large -d $1 -s 5
;;
lucy)
python -m tropical.stanford.train -e -m large -d $1 -s 25
;;
all)
python -m tropical.stanford.train -e -m large -d bunny -s 31
python -m tropical.stanford.train -e -m large -d dragon -s 13
python -m tropical.stanford.train -e -m large -d happy -s 6
python -m tropical.stanford.train -e -m large -d armadillo -s 2
python -m tropical.stanford.train -e -m large -d drill -s 5
python -m tropical.stanford.train -e -m large -d lucy -s 25
;;
*)
echo "Invalid option."
exit 1
;;
esac
exit 0