-
Notifications
You must be signed in to change notification settings - Fork 6
/
kinetics400.sh
executable file
·47 lines (41 loc) · 1.3 KB
/
kinetics400.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
45
46
47
#!/bin/bash
PROJECT=models/x3d
DATASET=kinetics400
GPUS="0"
for MODEL in xs s m l
do
python $PROJECT/main.py \
--id "x3d_{$MODEL}_kinetics400" \
--dataset $DATASET \
--gpus $GPUS \
--seed 123 \
--batch_size 32 \
--from_hparams_file $PROJECT/hparams/$MODEL.yaml \
--finetune_from_weights $PROJECT/weights/x3d_$MODEL.pyth \
--test \
--test_ensemble 0 \
python $PROJECT/main.py \
--id "x3d_{$MODEL}_kinetics400" \
--dataset $DATASET \
--gpus $GPUS \
--seed 123 \
--batch_size 32 \
--from_hparams_file $PROJECT/hparams/$MODEL.yaml \
--finetune_from_weights $PROJECT/weights/x3d_$MODEL.pyth \
--test \
--test_ensemble 1 \
--test_ensemble_temporal_clips 10 \
--test_ensemble_spatial_sampling_strategy "center" \
python $PROJECT/main.py \
--id "x3d_{$MODEL}_kinetics400" \
--dataset $DATASET \
--gpus $GPUS \
--seed 123 \
--batch_size 32 \
--from_hparams_file $PROJECT/hparams/$MODEL.yaml \
--finetune_from_weights $PROJECT/weights/x3d_$MODEL.pyth \
--test \
--test_ensemble 1 \
--test_ensemble_temporal_clips 10 \
--test_ensemble_spatial_sampling_strategy "horizontal" \
done