-
Notifications
You must be signed in to change notification settings - Fork 65
/
train_all.sh
40 lines (38 loc) · 1.38 KB
/
train_all.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
# BAIR action-free robot pushing dataset
for model in \
ours_deterministic_l1 \
ours_deterministic_l2 \
ours_vae_l1 \
ours_vae_l2 \
ours_gan \
ours_savp \
; do
CUDA_VISIBLE_DEVICES=0 python scripts/train.py --input_dir data/bair --dataset bair --model savp --model_hparams_dict hparams/bair_action_free/${model}/model_hparams.json --output_dir logs/bair_action_free/${model}
done
# KTH human actions dataset
for model in \
ours_deterministic_l1 \
ours_deterministic_l2 \
ours_vae_l1 \
ours_gan \
ours_savp \
; do
CUDA_VISIBLE_DEVICES=0 python scripts/train.py --input_dir data/kth --dataset kth --model savp --model_hparams_dict hparams/kth/${model}/model_hparams.json --output_dir logs/kth/${model}
done
# BAIR action-conditioned robot pushing dataset
for model in \
ours_deterministic_l1 \
ours_deterministic_l2 \
ours_vae_l1 \
ours_vae_l2 \
ours_gan \
ours_savp \
; do
CUDA_VISIBLE_DEVICES=0 python scripts/train.py --input_dir data/bair --dataset bair --dataset_hparams use_state=True --model savp --model_hparams_dict hparams/bair/${model}/model_hparams.json --output_dir logs/bair/${model}
done
for model in \
sna_l1 \
sna_l2 \
; do
CUDA_VISIBLE_DEVICES=0 python scripts/train.py --input_dir data/bair --dataset bair --dataset_hparams use_state=True --model sna --model_hparams_dict hparams/bair/${model}/model_hparams.json --output_dir logs/bair/${model}
done