Skip to content

Commit

Permalink
more confs and scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
ihounie committed Sep 24, 2022
1 parent 73fa398 commit dc04c07
Show file tree
Hide file tree
Showing 3 changed files with 44 additions and 2 deletions.
36 changes: 36 additions & 0 deletions confs/grid-search/RA/pd_cifar10_ablation.yaml
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

Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ cutout: 16
batch: 128
gpus: 1
n_aug: 1
augmentation_search_space: wide_standard
augmentation_search_space: fixed_standard
epoch: 200
lr: 0.1
lr_schedule:
Expand All @@ -23,7 +23,7 @@ MH:
steps: 2
PD:
lr: 0.0001
margin: 0.8
margin: 0.6
sample: False
save_model: True
seed_set:
Expand Down
6 changes: 6 additions & 0 deletions scripts/results/RA/run_final_40_2.sh
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

0 comments on commit dc04c07

Please sign in to comment.