-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathrun_cifar100_wideresnet2810.sh
executable file
·29 lines (24 loc) · 2.72 KB
/
run_cifar100_wideresnet2810.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
#!/usr/bin/env bash
python main.py -ei="all" -et "train_classify" -ec "data~cifar100+model~wideresnet2810+loss~softmax_std_std_std" -gpu 0 -x 10
python main.py -ei="all" -et "train_classify" -ec "data~cifar100+model~wideresnet2810+loss~isomax_std_std_std" -gpu 0 -x 10
python main.py -ei="all" -et "train_classify" -ec "data~cifar100+model~wideresnet2810+loss~isomaxplus_std_std_std" -gpu 0 -x 10
python main.py -ei="all" -et "train_classify" -ec "data~cifar100+model~wideresnet2810+loss~dismax_std_std_std" -gpu 0 -x 10
python main.py -ei="all" -et "train_classify" -ec "data~cifar100+model~wideresnet2810+loss~dismax_std_std_fpr" -gpu 0 -x 10
#python main.py -ei="all" -et "extract_ood_logits_metrics" -ec "data~cifar100+model~wideresnet2810+loss~softmax_std_std_std" -gpu 0
#python main.py -ei="all" -et "extract_ood_logits_metrics" -ec "data~cifar100+model~wideresnet2810+loss~isomax_std_std_std" -gpu 0
#python main.py -ei="all" -et "extract_ood_logits_metrics" -ec "data~cifar100+model~wideresnet2810+loss~isomaxplus_std_std_std" -gpu 0
#python main.py -ei="all" -et "extract_ood_logits_metrics" -ec "data~cifar100+model~wideresnet2810+loss~dismax_std_std_std" -gpu 0
#python main.py -ei="all" -et "extract_ood_logits_metrics" -ec "data~cifar100+model~wideresnet2810+loss~dismax_std_std_fpr" -gpu 0
python calibrate.py --dir all --dataset cifar100 --net_type wideresnet2810 --loss softmax_std_std_std --gpu 0 -x 10
python calibrate.py --dir all --dataset cifar100 --net_type wideresnet2810 --loss isomax_std_std_std --gpu 0 -x 10
python calibrate.py --dir all --dataset cifar100 --net_type wideresnet2810 --loss isomaxplus_std_std_std --gpu 0 -x 10
python calibrate.py --dir all --dataset cifar100 --net_type wideresnet2810 --loss dismax_std_std_std --gpu 0 -x 10
python calibrate.py --dir all --dataset cifar100 --net_type wideresnet2810 --loss dismax_std_std_fpr --gpu 0 -x 10
python detect.py --dir all --dataset cifar100 --net_type wideresnet2810 --loss softmax_std_std_std --gpu 0 -x 10
python detect.py --dir all --dataset cifar100 --net_type wideresnet2810 --loss isomax_std_std_std --gpu 0 -x 10
python detect.py --dir all --dataset cifar100 --net_type wideresnet2810 --loss isomaxplus_std_std_std --gpu 0 -x 10
python detect.py --dir all --dataset cifar100 --net_type wideresnet2810 --loss dismax_std_std_std --gpu 0 -x 10
python detect.py --dir all --dataset cifar100 --net_type wideresnet2810 --loss dismax_std_std_fpr --gpu 0 -x 10
# if dismax was trained with precompute_thresholds=True, the code bellow may be used to verify them.
#python verify.py --dir all --dataset cifar100 --net_type wideresnet2810 --loss dismax_std_std_std --gpu 0 -x 10
#python verify.py --dir all --dataset cifar100 --net_type wideresnet2810 --loss dismax_std_std_fpr --gpu 0 -x 10