-
Notifications
You must be signed in to change notification settings - Fork 30
/
Copy pathquick_test.sh
executable file
·30 lines (25 loc) · 1.22 KB
/
quick_test.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
python3 main.py --dataset cifar10 --arch preact_resnet56 --epochs 200 --num-classes 100 -j 0 --weight-decay 1e-4 --batch-size 128 --label-smoothing 0 \
-c quantize --ca=True --actnn-level L3 \
--workspace results/tmp --evaluate --training-only \
--resume results/cifar100/checkpoint-10.pth.tar --resume2 results/cifar100/checkpoint-10.pth.tar ~/data/cifar100
###### Check cifar memory #####
#for BS in 512
#do
# python3 main.py --dataset cifar10 --arch preact_resnet56 --epochs 200 --num-classes 10 -j 0 --weight-decay 1e-4 --batch-size $BS --label-smoothing 0 \
# -c fanin \
# --workspace results/tmp --gather-checkpoints ~/data/cifar10
#done
#for BS in 28000
#do
# python3 main.py --dataset cifar10 --arch preact_resnet56 --epochs 200 --num-classes 10 -j 0 --weight-decay 1e-4 --batch-size $BS --label-smoothing 0 \
# -c quantize --ca=True --cabits=2 --ibits=8 --calg pl \
# --workspace results/tmp --gather-checkpoints ~/data/cifar10
#done
##### Resnet exact ######
#./dist-train 1 0 127.0.0.1 1 resnet50 \
# "-c fanin" \
# tmp ~/imagenet 256
##### Resnet quantized ######
#./dist-train 1 0 127.0.0.1 1 resnet152 \
# "-c quantize --ca=True --cabits=2 --ibits=8 --calg pl" \
# tmp ~/imagenet 256