-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathtrain_snl.sh
35 lines (31 loc) · 1.47 KB
/
train_snl.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
$data_root=/mnt/nas/zhulei/datas/
CUDA_VISIBLE_DEVICES=0 python3 train_val.py --pretrained False \
--dataset imagenet \
--backbone resnet \
--arch 50 \
--data_dir $data_root \
--nl-type 'snl' \
--nl-nums 1 \
--checkpoints 'snl' \
--is_norm \
--is_sys
CUDA_VISIBLE_DEVICES=0 python3 train_val.py --pretrained False \
--dataset cifar100 \
--backbone preresnet \
--arch 56 \
--data_dir $data_root \
--nl-type 'snl' \
--nl-nums 1 \
--checkpoints 'snl' \
--is_norm \
--is_sys
CUDA_VISIBLE_DEVICES=0 python3 train_val.py --pretrained False \
--dataset cifar10 \
--backbone preresnet \
--arch 20 \
--data_dir $data_root \
--nl-type 'snl' \
--nl-nums 1 \
--checkpoints 'snl' \
--is_norm \
--is_sys