-
Notifications
You must be signed in to change notification settings - Fork 66
/
Copy pathevaluate_all.sh
44 lines (42 loc) · 1.46 KB
/
evaluate_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
41
42
43
44
# BAIR action-free robot pushing dataset
dataset=bair_action_free
for method_dir in \
ours_vae_gan \
ours_gan \
ours_vae_l1 \
ours_vae_l2 \
ours_deterministic_l1 \
ours_deterministic_l2 \
sv2p_time_invariant \
; do
CUDA_VISIBLE_DEVICES=0 python scripts/evaluate.py --input_dir data/bair --dataset_hparams sequence_length=30 --checkpoint models/${dataset}/${method_dir} --mode test --results_dir results_test/${dataset} --batch_size 8
done
# KTH human actions dataset
# use batch_size=1 to ensure reproducibility when sampling subclips within a sequence
dataset=kth
for method_dir in \
ours_vae_gan \
ours_gan \
ours_vae_l1 \
ours_deterministic_l1 \
ours_deterministic_l2 \
sv2p_time_variant \
sv2p_time_invariant \
; do
CUDA_VISIBLE_DEVICES=0 python scripts/evaluate.py --input_dir data/kth --dataset_hparams sequence_length=40 --checkpoint models/${dataset}/${method_dir} --mode test --results_dir results_test/${dataset} --batch_size 1
done
# BAIR action-conditioned robot pushing dataset
dataset=bair
for method_dir in \
ours_vae_gan \
ours_gan \
ours_vae_l1 \
ours_vae_l2 \
ours_deterministic_l1 \
ours_deterministic_l2 \
sna_l1 \
sna_l2 \
sv2p_time_variant \
; do
CUDA_VISIBLE_DEVICES=1 python scripts/evaluate.py --input_dir data/bair --dataset_hparams sequence_length=30 --checkpoint models/${dataset}/${method_dir} --mode test --results_dir results_test/${dataset} --batch_size 8
done