-
Notifications
You must be signed in to change notification settings - Fork 7
/
script.sh
18 lines (16 loc) · 877 Bytes
/
script.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/bash
echo
mkdir checkpoints
cd checkpoints
wget https://transfer.sh/IhuwC/wrn_c100_pretrained.pth
cd ../
# python pretraining.py $1 $2 --epochs 160 --batch_size 64
python pruning.py $1 $2 --Vc 0.0625 --budget_type 'flops_ratio'
python finetuning.py $1 $2 --name $2\_$1\_0.0625\_parameter\_ratio --epochs 300 --Vc 0.0625 --budget_type flops_ratio
# python pruning.py $1 $2 --Vc 0.4
# python pruning.py $1 $2 --Vc 0.2
# python pruning.py $1 $2 --Vc 0.1 --w1 45.
# python finetuning.py $1 $2 --name $2\_$1\_0.6\_channel\_ratio --epochs 160 --Vc 0.6 --batch_size 64
# python finetuning.py $1 $2 --name $2\_$1\_0.4\_channel\_ratio --epochs 160 --Vc 0.4 --batch_size 64
# python finetuning.py $1 $2 --name $2\_$1\_0.2\_channel\_ratio --epochs 160 --Vc 0.2 --batch_size 64
# python finetuning.py $1 $2 --name $2\_$1\_0.1\_channel\_ratio --epochs 160 --Vc 0.1 --batch_size 64