-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathclothing1m_train.sh
53 lines (49 loc) · 1.55 KB
/
clothing1m_train.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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
num_gpus=1
seeds=(0 2 20)
datasets=( clothing1M_clean # clean labels
clothing1M_cleanval # real noisy labels
clothing1M_cleanval_symm # synthetic uniform (SU) noisy labels
clothing1M_cleanval_asymm # synthetic class-conditional (SCC) noisy labels
)
# ResNet architecture
for seed in ${seeds[@]}
do
for dataset in ${datasets[@]}
do
python main.py \
--config configs/datasets/clothing1M/${dataset}.yml \
configs/preprocessors/base_preprocessor.yml \
configs/networks/resnet18_224x224.yml \
configs/pipelines/train/baseline.yml \
--seed ${seed} \
--num_gpus ${num_gpus}
done
done
# MLPMixer architecture
for seed in ${seeds[@]}
do
for dataset in ${datasets[@]}
do
python main.py \
--config configs/datasets/clothing1M/${dataset}.yml \
configs/preprocessors/base_preprocessor.yml \
configs/networks/mlpmixer.yml \
configs/pipelines/train/baseline_mlpmixer.yml \
--seed ${seed} \
--num_gpus ${num_gpus}
done
done
# CCT architecture
for seed in ${seeds[@]}
do
for dataset in ${datasets[@]}
do
python main.py \
--config configs/datasets/clothing1M/${dataset}.yml \
configs/preprocessors/base_preprocessor.yml \
configs/networks/cct_224x224.yml \
configs/pipelines/train/baseline_cct_clothing.yml \
--seed ${seed} \
--num_gpus ${num_gpus}
done
done