forked from automl/trivialaugment
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
ihounie
committed
Sep 24, 2022
1 parent
73fa398
commit dc04c07
Showing
3 changed files
with
44 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
model: | ||
type: wresnet40_2 | ||
dataset: cifar10 | ||
aug: primaldual | ||
randaug: | ||
N: 0 | ||
M: 0 # from appendix | ||
weights: [0.0,1.0] | ||
cutout: 16 | ||
batch: 128 | ||
gpus: 1 | ||
n_aug: 1 | ||
augmentation_search_space: fixed_standard | ||
epoch: 200 | ||
lr: 0.1 | ||
lr_schedule: | ||
type: 'cosine' | ||
optimizer: | ||
type: sgd | ||
nesterov: True | ||
decay: 0.0005 | ||
MH: | ||
steps: 2 | ||
PD: | ||
lr: 0.0001 | ||
margin_set: | ||
- 0.6 | ||
- 0.4 | ||
- 0.8 | ||
sample: False | ||
save_model: True | ||
seed_set: | ||
- 0 | ||
- 1 | ||
- 2 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
LOCAL_RANK=1 | ||
python create_variants_of_set_config.py confs/results/RA/pd_cifar10_wrn40-2_final.yaml 1 | ||
for seed in 2 3 4 | ||
do | ||
python -m TrivialAugment.train_pd_batch -c confs/results/RA/pd_cifar10_wrn40-2_final__seed=${seed}__1try.yaml --dataroot data --tag PD_CIFAR10 --wandb_log --save results/PD_single_CIFAR10_${seed} --local_rank ${LOCAL_RANK} | ||
done |