Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
71 changes: 71 additions & 0 deletions examples/benchmark/benchmark_mnist_grid.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@

mode: grid

output_dir: zoutput/benchmarks/benchmark_mnist_grid
num_param_samples: 10
startseed: 0
endseed: 2

domainlab_args:
task: mnistcolor10
tr_d: [0, 3]
dmem: False
lr: 0.001
epos: 3
es: 5
bs: 32
nname: conv_bn_pool_2
san_check: True

test_domains:
- 1
- 2

ExperimentDann:
aname: dann



ExperimentDeepall:
aname: deepall



ExperimentDiva:
aname: diva
nname_dom: conv_bn_pool_2

hyperparameters:
gamma_y:
min: 1000
max: 10000
step: 100
num: 3
distribution: uniform

gamma_d:
min: 1000
max: 10000
step: 10
num: 2
distribution: uniform



ExperimentJigen:
aname: jigen

hyperparameters:
pperm:
min: 0.1
max: 0.5
distribution: uniform
num: 3

nperm:
distribution: categorical
values:
- 30
- 31
- 100
datatype: int
147 changes: 147 additions & 0 deletions examples/benchmark/benchmark_mnist_grid_all_algo.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,147 @@

mode: grid

output_dir: zoutput/benchmarks/benchmark_mnist_grid_all_algo
num_param_samples: 10
startseed: 0
endseed: 2

domainlab_args:
task: mnistcolor10
tr_d: [0, 3]
dmem: False
lr: 0.001
epos: 3
es: 5
bs: 32
nname: conv_bn_pool_2
san_check: True

test_domains:
- 1
- 2


Shared params:
num_shared_param_samples: 3
gamma_y:
min: 1000
max: 10000
step: 100
num: 2
distribution: uniform
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why grid search would have a distribution?


zy_dim:
min: 32
max: 96
step: 32
num: 2
distribution: uniform
datatype: int

zd_dim:
min: 32
max: 96
step: 32
num: 2
distribution: uniform
datatype: int

gamma_reg:
min: 0.01
max: 10
num: 1
distribution: loguniform

gamma_d:
min: 1000
max: 10000
step: 10
num: 2
distribution: uniform


ExperimentDann:
aname: dann
shared:
- gamma_reg


ExperimentDeepall:
aname: deepall



ExperimentDiva:
aname: diva
nname_dom: conv_bn_pool_2
shared:
- gamma_y
- zy_dim
- zd_dim
- gamma_d



ExperimentHduva:
aname: hduva
nname_topic_distrib_img2topic: conv_bn_pool_2
nname_encoder_sandwich_layer_img2h4zd: conv_bn_pool_2

shared:
- gamma_y
- zy_dim
- zd_dim

zx_dim: 0



ExperimentMatchdg:
aname: matchdg

shared:
- gamma_reg

hyperparameters:
epochs_ctr:
min: 2
max: 10
step: 1
num: 2
distribution: uniform

tau:
min: 0.01
max: 1
num: 2
distribution: loguniform

epos_per_match_update:
min: 1
max: 20
step: 1
num: 2
distribution: uniform


ExperimentJigen:
aname: jigen
grid_len: 3
shared:
- gamma_reg

hyperparameters:
pperm:
min: 0.1
max: 0.5
distribution: uniform
num: 3

nperm:
distribution: categorical
values:
- 30
- 31
- 100
datatype: int