-
Notifications
You must be signed in to change notification settings - Fork 3
/
run_imagenet1k_resnet18.sh
executable file
·21 lines (16 loc) · 1.55 KB
/
run_imagenet1k_resnet18.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/usr/bin/env bash
#python train.py --dir all --dataset imagenet1k --model resnet18 --loss softmax_none --gpu 0 -bs 256 -e 90 -lrde "30 60"
#python calibrate.py --dir all --dataset imagenet1k --model resnet18 --loss softmax_none --gpu 0
#python detect.py --dir all --dataset imagenet1k --model resnet18 --loss softmax_none --gpu 0
#python train.py --dir all --dataset imagenet1k --model resnet18 --loss isomax_none --gpu 0 -bs 256 -e 90 -lrde "30 60"
#python calibrate.py --dir all --dataset imagenet1k --model resnet18 --loss isomax_none --gpu 0
#python detect.py --dir all --dataset imagenet1k --model resnet18 --loss isomax_none --gpu 0
#python train.py --dir all --dataset imagenet1k --model resnet18 --loss isomaxplus_none --gpu 0 -bs 256 -e 90 -lrde "30 60"
#python calibrate.py --dir all --dataset imagenet1k --model resnet18 --loss isomaxplus_none --gpu 0
#python detect.py --dir all --dataset imagenet1k --model resnet18 --loss isomaxplus_none --gpu 0
#python train.py --dir all --dataset imagenet1k --model resnet18 --loss dismax_none --gpu 0 -bs 256 -e 90 -lrde "30 60"
#python calibrate.py --dir all --dataset imagenet1k --model resnet18 --loss dismax_none --gpu 0
#python detect.py --dir all --dataset imagenet1k --model resnet18 --loss dismax_none --gpu 0
##python train.py --dir all --dataset imagenet1k --model resnet18 --loss dismax_fpr --gpu 0 -bs 256 -e 90 -lrde "30 60"
python calibrate.py --dir all --dataset imagenet1k --model resnet18 --loss dismax_fpr --gpu 0
##python detect.py --dir all --dataset imagenet1k --model resnet18 --loss dismax_fpr --gpu 0