Skip to content

Commit

Permalink
⚙️ Add testing params for ProcessDict
Browse files Browse the repository at this point in the history
  • Loading branch information
valentingol committed Dec 17, 2023
1 parent 9fb078c commit 21d0fef
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 1 deletion.
2 changes: 1 addition & 1 deletion tests/configs/integration/test2/default.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ models:
vit_b16_cfg_path@merge_add: tests/configs/integration/test2/models/vit_b16.yaml

---

data:
dataset_path@type:str: ../data
dataset_cfg_path@merge_add: tests/configs/integration/test2/data.yaml
Expand All @@ -17,3 +16,4 @@ train:
type@optim_type: SGD
lr@type:float: 0.01
momentum@type:float|int: 0.9
sweep_cfg: None
5 changes: 5 additions & 0 deletions tests/configs/integration/test2/exp1.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,8 @@ models.vit_b16:
in_size: !copy@type:int data.data_size
dim: 512
train.n_epochs: 30
sweep_cfg@dict:
method: grid
models.dim:
- 512
- 1024
5 changes: 5 additions & 0 deletions tests/configs/integration/test2/exp2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,8 @@ data.data_size: 512
data.dataset_path: ../../mydata
data.augmentation: [RandomHorizontalFlip, RandomVerticalFlip]
1@merge_add: !delete tests/configs/integration/test2/exp3.yaml
sweep_cfg@dict:
method: bayes
data.data_size:
- 512
- 1024

0 comments on commit 21d0fef

Please sign in to comment.