forked from kenziyuliu/MS-G3D
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy patheval_pretrained.sh
54 lines (32 loc) · 2.59 KB
/
eval_pretrained.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
48
49
50
51
52
53
54
## Generate test scores
# NTU 60 XSub
python3 main.py --config ./config/nturgbd-cross-subject/test_joint.yaml --work-dir pretrain_eval/ntu60/xsub/joint-fusion --weights pretrained-models/ntu60-xsub-joint-fusion.pt
python3 main.py --config ./config/nturgbd-cross-subject/test_bone.yaml --work-dir pretrain_eval/ntu60/xsub/bone --weights pretrained-models/ntu60-xsub-bone.pt
# NTU 60 XView
python3 main.py --config ./config/nturgbd-cross-view/test_joint.yaml --work-dir pretrain_eval/ntu60/xview/joint --weights pretrained-models/ntu60-xview-joint.pt
python3 main.py --config ./config/nturgbd-cross-view/test_bone.yaml --work-dir pretrain_eval/ntu60/xview/bone --weights pretrained-models/ntu60-xview-bone.pt
# NTU 120 XSub
python3 main.py --config ./config/nturgbd120-cross-subject/test_joint.yaml --work-dir pretrain_eval/ntu120/xsub/joint --weights pretrained-models/ntu120-xsub-joint.pt
python3 main.py --config ./config/nturgbd120-cross-subject/test_bone.yaml --work-dir pretrain_eval/ntu120/xsub/bone --weights pretrained-models/ntu120-xsub-bone.pt
# NTU 120 XSet
python3 main.py --config ./config/nturgbd120-cross-setup/test_joint.yaml --work-dir pretrain_eval/ntu120/xset/joint --weights pretrained-models/ntu120-xset-joint.pt
python3 main.py --config ./config/nturgbd120-cross-setup/test_bone.yaml --work-dir pretrain_eval/ntu120/xset/bone --weights pretrained-models/ntu120-xset-bone.pt
# Kinetics Skeleton 400
python3 main.py --config ./config/kinetics-skeleton/test_joint.yaml --work-dir pretrain_eval/kinetics/joint --weights pretrained-models/kinetics-joint.pt
python3 main.py --config ./config/kinetics-skeleton/test_bone.yaml --work-dir pretrain_eval/kinetics/bone --weights pretrained-models/kinetics-bone.pt
## Perform all ensembles at once
# NTU 60 XSub
printf "\nNTU RGB+D 60 XSub\n"
python3 ensemble.py --dataset ntu/xsub --joint-dir pretrain_eval/ntu60/xsub/joint-fusion --bone-dir pretrain_eval/ntu60/xsub/bone
# NTU 60 XView
printf "\nNTU RGB+D 60 XView\n"
python3 ensemble.py --dataset ntu/xview --joint-dir pretrain_eval/ntu60/xview/joint --bone-dir pretrain_eval/ntu60/xview/bone
# NTU 120 XSub
printf "\nNTU RGB+D 120 XSub\n"
python3 ensemble.py --dataset ntu120/xsub --joint-dir pretrain_eval/ntu120/xsub/joint --bone-dir pretrain_eval/ntu120/xsub/bone
# NTU 120 XSet
printf "\nNTU RGB+D 120 XSet\n"
python3 ensemble.py --dataset ntu120/xset --joint-dir pretrain_eval/ntu120/xset/joint --bone-dir pretrain_eval/ntu120/xset/bone
# Kinetics Skeleton 400
printf "\nKinetics Skeleton 400\n"
python3 ensemble.py --dataset kinetics --joint-dir pretrain_eval/kinetics/joint --bone-dir pretrain_eval/kinetics/bone