-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy patheval_all.sh
executable file
·62 lines (55 loc) · 10.1 KB
/
eval_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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
#!/usr/bin/env bash
# Activate your virtual environment.
# ----------------------------------------
CONDA_BASE=$(conda info --base)
source $CONDA_BASE/etc/profile.d/conda.sh
conda activate fer
# ----------------------------------------
# ==============================================================================
cudaid=$1
export CUDA_VISIBLE_DEVICES=$cudaid
rootdir=/absolute/path/to/here # e.g. /home/user_name/code/interpretable-fer-aus
python eval.py --cudaid 0 --split test --checkpoint_type best --exp_path $rootdir/shared-trained-models/FG_FER/AffectNet/resnet50/STD_CL/CAM/align_atten_to_heatmap_True/AffectNet-resnet50-CAM-WGAP-cp_best-boxv2_False
python eval.py --cudaid 0 --split test --checkpoint_type best --exp_path $rootdir/shared-trained-models/FG_FER/AffectNet/resnet50/STD_CL/CAM/align_atten_to_heatmap_False/AffectNet-resnet50-CAM-WGAP-cp_best-boxv2_False
python eval.py --cudaid 0 --split test --checkpoint_type best --exp_path $rootdir/shared-trained-models/FG_FER/AffectNet/deit_tscam_small_patch16_224/STD_CL/TSCAM/align_atten_to_heatmap_True/AffectNet-deit_tscam_small_patch16_224-TSCAM-GAP-cp_best-boxv2_False
python eval.py --cudaid 0 --split test --checkpoint_type best --exp_path $rootdir/shared-trained-models/FG_FER/AffectNet/deit_tscam_small_patch16_224/STD_CL/TSCAM/align_atten_to_heatmap_False/AffectNet-deit_tscam_small_patch16_224-TSCAM-GAP-cp_best-boxv2_False
python eval.py --cudaid 0 --split test --checkpoint_type best --exp_path $rootdir/shared-trained-models/FG_FER/AffectNet/apvit/STD_CL/APVIT/align_atten_to_heatmap_True/AffectNet-apvit-APVIT-NONE-cp_best-boxv2_False
python eval.py --cudaid 0 --split test --checkpoint_type best --exp_path $rootdir/shared-trained-models/FG_FER/AffectNet/apvit/STD_CL/APVIT/align_atten_to_heatmap_False/AffectNet-apvit-APVIT-NONE-cp_best-boxv2_False
python eval.py --cudaid 0 --split test --checkpoint_type best --exp_path $rootdir/shared-trained-models/FG_FER/AffectNet/resnet50/STD_CL/GradCam/align_atten_to_heatmap_True/AffectNet-resnet50-GradCam-WGAP-cp_best-boxv2_False
python eval.py --cudaid 0 --split test --checkpoint_type best --exp_path $rootdir/shared-trained-models/FG_FER/AffectNet/resnet50/STD_CL/GradCam/align_atten_to_heatmap_False/AffectNet-resnet50-GradCam-WGAP-cp_best-boxv2_False
python eval.py --cudaid 0 --split test --checkpoint_type best --exp_path $rootdir/shared-trained-models/FG_FER/AffectNet/resnet50/STD_CL/GradCAMpp/align_atten_to_heatmap_True/AffectNet-resnet50-GradCAMpp-WGAP-cp_best-boxv2_False
python eval.py --cudaid 0 --split test --checkpoint_type best --exp_path $rootdir/shared-trained-models/FG_FER/AffectNet/resnet50/STD_CL/GradCAMpp/align_atten_to_heatmap_False/AffectNet-resnet50-GradCAMpp-WGAP-cp_best-boxv2_False
python eval.py --cudaid 0 --split test --checkpoint_type best --exp_path $rootdir/shared-trained-models/FG_FER/AffectNet/resnet50/STD_CL/LayerCAM/align_atten_to_heatmap_True/AffectNet-resnet50-LayerCAM-WGAP-cp_best-boxv2_False
python eval.py --cudaid 0 --split test --checkpoint_type best --exp_path $rootdir/shared-trained-models/FG_FER/AffectNet/resnet50/STD_CL/LayerCAM/align_atten_to_heatmap_False/AffectNet-resnet50-LayerCAM-WGAP-cp_best-boxv2_False
python eval.py --cudaid 0 --split test --checkpoint_type best --exp_path $rootdir/shared-trained-models/FG_FER/AffectNet/resnet50/STD_CL/WILDCAT/align_atten_to_heatmap_True/AffectNet-resnet50-WILDCAT-WildCatCLHead-cp_best-boxv2_False
python eval.py --cudaid 0 --split test --checkpoint_type best --exp_path $rootdir/shared-trained-models/FG_FER/AffectNet/resnet50/STD_CL/WILDCAT/align_atten_to_heatmap_False/AffectNet-resnet50-WILDCAT-WildCatCLHead-cp_best-boxv2_False
python eval.py --cudaid 0 --split test --checkpoint_type best --exp_path $rootdir/shared-trained-models/FG_FER/AffectNet/resnet50/STD_CL/ACoL/align_atten_to_heatmap_True/AffectNet-resnet50-ACoL-ACOL-cp_best-boxv2_False
python eval.py --cudaid 0 --split test --checkpoint_type best --exp_path $rootdir/shared-trained-models/FG_FER/AffectNet/resnet50/STD_CL/ACoL/align_atten_to_heatmap_False/AffectNet-resnet50-ACoL-ACOL-cp_best-boxv2_False
python eval.py --cudaid 0 --split test --checkpoint_type best --exp_path $rootdir/shared-trained-models/FG_FER/AffectNet/resnet50/STD_CL/PRM/align_atten_to_heatmap_True/AffectNet-resnet50-PRM-PRM-cp_best-boxv2_False
python eval.py --cudaid 0 --split test --checkpoint_type best --exp_path $rootdir/shared-trained-models/FG_FER/AffectNet/resnet50/STD_CL/PRM/align_atten_to_heatmap_False/AffectNet-resnet50-PRM-PRM-cp_best-boxv2_False
python eval.py --cudaid 0 --split test --checkpoint_type best --exp_path $rootdir/shared-trained-models/FG_FER/AffectNet/resnet50/STD_CL/ADL/align_atten_to_heatmap_True/AffectNet-resnet50-ADL-WGAP-cp_best-boxv2_False
python eval.py --cudaid 0 --split test --checkpoint_type best --exp_path $rootdir/shared-trained-models/FG_FER/AffectNet/resnet50/STD_CL/ADL/align_atten_to_heatmap_False/AffectNet-resnet50-ADL-WGAP-cp_best-boxv2_False
python eval.py --cudaid 0 --split test --checkpoint_type best --exp_path $rootdir/shared-trained-models/FG_FER/AffectNet/resnet50/STD_CL/CutMIX/align_atten_to_heatmap_True/AffectNet-resnet50-CutMIX-WGAP-cp_best-boxv2_False
python eval.py --cudaid 0 --split test --checkpoint_type best --exp_path $rootdir/shared-trained-models/FG_FER/AffectNet/resnet50/STD_CL/CutMIX/align_atten_to_heatmap_False/AffectNet-resnet50-CutMIX-WGAP-cp_best-boxv2_False
python eval.py --cudaid 0 --split test --checkpoint_type best --exp_path $rootdir/shared-trained-models/FG_FER/RAF-DB/resnet50/STD_CL/CAM/align_atten_to_heatmap_True/RAF-DB-resnet50-CAM-WGAP-cp_best-boxv2_False
python eval.py --cudaid 0 --split test --checkpoint_type best --exp_path $rootdir/shared-trained-models/FG_FER/RAF-DB/resnet50/STD_CL/CAM/align_atten_to_heatmap_False/RAF-DB-resnet50-CAM-WGAP-cp_best-boxv2_False
python eval.py --cudaid 0 --split test --checkpoint_type best --exp_path $rootdir/shared-trained-models/FG_FER/RAF-DB/deit_tscam_small_patch16_224/STD_CL/TSCAM/align_atten_to_heatmap_True/RAF-DB-deit_tscam_small_patch16_224-TSCAM-GAP-cp_best-boxv2_False
python eval.py --cudaid 0 --split test --checkpoint_type best --exp_path $rootdir/shared-trained-models/FG_FER/RAF-DB/deit_tscam_small_patch16_224/STD_CL/TSCAM/align_atten_to_heatmap_False/RAF-DB-deit_tscam_small_patch16_224-TSCAM-GAP-cp_best-boxv2_False
python eval.py --cudaid 0 --split test --checkpoint_type best --exp_path $rootdir/shared-trained-models/FG_FER/RAF-DB/apvit/STD_CL/APVIT/align_atten_to_heatmap_True/RAF-DB-apvit-APVIT-NONE-cp_best-boxv2_False
python eval.py --cudaid 0 --split test --checkpoint_type best --exp_path $rootdir/shared-trained-models/FG_FER/RAF-DB/apvit/STD_CL/APVIT/align_atten_to_heatmap_False/RAF-DB-apvit-APVIT-NONE-cp_best-boxv2_False
python eval.py --cudaid 0 --split test --checkpoint_type best --exp_path $rootdir/shared-trained-models/FG_FER/RAF-DB/resnet50/STD_CL/GradCam/align_atten_to_heatmap_True/RAF-DB-resnet50-GradCam-WGAP-cp_best-boxv2_False
python eval.py --cudaid 0 --split test --checkpoint_type best --exp_path $rootdir/shared-trained-models/FG_FER/RAF-DB/resnet50/STD_CL/GradCam/align_atten_to_heatmap_False/RAF-DB-resnet50-GradCam-WGAP-cp_best-boxv2_False
python eval.py --cudaid 0 --split test --checkpoint_type best --exp_path $rootdir/shared-trained-models/FG_FER/RAF-DB/resnet50/STD_CL/GradCAMpp/align_atten_to_heatmap_True/RAF-DB-resnet50-GradCAMpp-WGAP-cp_best-boxv2_False
python eval.py --cudaid 0 --split test --checkpoint_type best --exp_path $rootdir/shared-trained-models/FG_FER/RAF-DB/resnet50/STD_CL/GradCAMpp/align_atten_to_heatmap_False/RAF-DB-resnet50-GradCAMpp-WGAP-cp_best-boxv2_False
python eval.py --cudaid 0 --split test --checkpoint_type best --exp_path $rootdir/shared-trained-models/FG_FER/RAF-DB/resnet50/STD_CL/LayerCAM/align_atten_to_heatmap_True/RAF-DB-resnet50-LayerCAM-WGAP-cp_best-boxv2_False
python eval.py --cudaid 0 --split test --checkpoint_type best --exp_path $rootdir/shared-trained-models/FG_FER/RAF-DB/resnet50/STD_CL/LayerCAM/align_atten_to_heatmap_False/RAF-DB-resnet50-LayerCAM-WGAP-cp_best-boxv2_False
python eval.py --cudaid 0 --split test --checkpoint_type best --exp_path $rootdir/shared-trained-models/FG_FER/RAF-DB/resnet50/STD_CL/WILDCAT/align_atten_to_heatmap_True/RAF-DB-resnet50-WILDCAT-WildCatCLHead-cp_best-boxv2_False
python eval.py --cudaid 0 --split test --checkpoint_type best --exp_path $rootdir/shared-trained-models/FG_FER/RAF-DB/resnet50/STD_CL/WILDCAT/align_atten_to_heatmap_False/RAF-DB-resnet50-WILDCAT-WildCatCLHead-cp_best-boxv2_False
python eval.py --cudaid 0 --split test --checkpoint_type best --exp_path $rootdir/shared-trained-models/FG_FER/RAF-DB/resnet50/STD_CL/ACoL/align_atten_to_heatmap_True/RAF-DB-resnet50-ACoL-ACOL-cp_best-boxv2_False
python eval.py --cudaid 0 --split test --checkpoint_type best --exp_path $rootdir/shared-trained-models/FG_FER/RAF-DB/resnet50/STD_CL/ACoL/align_atten_to_heatmap_False/RAF-DB-resnet50-ACoL-ACOL-cp_best-boxv2_False
python eval.py --cudaid 0 --split test --checkpoint_type best --exp_path $rootdir/shared-trained-models/FG_FER/RAF-DB/resnet50/STD_CL/PRM/align_atten_to_heatmap_True/RAF-DB-resnet50-PRM-PRM-cp_best-boxv2_False
python eval.py --cudaid 0 --split test --checkpoint_type best --exp_path $rootdir/shared-trained-models/FG_FER/RAF-DB/resnet50/STD_CL/PRM/align_atten_to_heatmap_False/RAF-DB-resnet50-PRM-PRM-cp_best-boxv2_False
python eval.py --cudaid 0 --split test --checkpoint_type best --exp_path $rootdir/shared-trained-models/FG_FER/RAF-DB/resnet50/STD_CL/ADL/align_atten_to_heatmap_True/RAF-DB-resnet50-ADL-WGAP-cp_best-boxv2_False
python eval.py --cudaid 0 --split test --checkpoint_type best --exp_path $rootdir/shared-trained-models/FG_FER/RAF-DB/resnet50/STD_CL/ADL/align_atten_to_heatmap_False/RAF-DB-resnet50-ADL-WGAP-cp_best-boxv2_False
python eval.py --cudaid 0 --split test --checkpoint_type best --exp_path $rootdir/shared-trained-models/FG_FER/RAF-DB/resnet50/STD_CL/CutMIX/align_atten_to_heatmap_True/RAF-DB-resnet50-CutMIX-WGAP-cp_best-boxv2_False
python eval.py --cudaid 0 --split test --checkpoint_type best --exp_path $rootdir/shared-trained-models/FG_FER/RAF-DB/resnet50/STD_CL/CutMIX/align_atten_to_heatmap_False/RAF-DB-resnet50-CutMIX-WGAP-cp_best-boxv2_False