-
Notifications
You must be signed in to change notification settings - Fork 2
/
run_0.sh
executable file
·40 lines (32 loc) · 1.46 KB
/
run_0.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
export seed=0
export CUDA_VISIBLE_DEVICES=0
# Learn 3 meanings
export OUTPUT=./outputs/exp_curriculum/seed_${seed}/
mkdir -p $OUTPUT
python train.py --curriculum --output-dir=$OUTPUT --seed=$seed >$OUTPUT/main.log
# Learn 1 meaning
# Learn syntax
export OUTPUT=./outputs/exp_perception_semantics_curriculum/seed_${seed}/
mkdir -p $OUTPUT
python train.py --perception --semantics --curriculum --output-dir=$OUTPUT --seed=$seed >$OUTPUT/main.log
# Learn perception
export OUTPUT=./outputs/exp_syntax_semantics_curriculum/seed_${seed}/
mkdir -p $OUTPUT
python train.py --syntax --semantics --curriculum --output-dir=$OUTPUT --seed=$seed >$OUTPUT/main.log
# Learn semantics
export OUTPUT=./outputs/exp_perception_syntax_curriculum/seed_${seed}/
mkdir -p $OUTPUT
python train.py --perception --syntax --curriculum --output-dir=$OUTPUT --seed=$seed >$OUTPUT/main.log
# Learn 2 meanings
# Learn perception and syntax
export OUTPUT=./outputs/exp_semantics_curriculum/seed_${seed}/
mkdir -p $OUTPUT
python train.py --semantics --curriculum --output-dir=$OUTPUT --seed=$seed >$OUTPUT/main.log
# Learn syntax and semantics
export OUTPUT=./outputs/exp_perception_curriculum/seed_${seed}/
mkdir -p $OUTPUT
python train.py --perception --curriculum --output-dir=$OUTPUT --seed=$seed >$OUTPUT/main.log
# Learn perception and semantics
export OUTPUT=./outputs/exp_syntax_curriculum/seed_${seed}/
mkdir -p $OUTPUT
python train.py --syntax --curriculum --output-dir=$OUTPUT --seed=$seed >$OUTPUT/main.log