From 58cd65d091e54cc3fca7b44189274745647fd035 Mon Sep 17 00:00:00 2001 From: smilesun Date: Mon, 9 Oct 2023 15:59:38 +0200 Subject: [PATCH 1/3] . --- run_erm.sh | 1 + 1 file changed, 1 insertion(+) create mode 100644 run_erm.sh diff --git a/run_erm.sh b/run_erm.sh new file mode 100644 index 000000000..e5d44a151 --- /dev/null +++ b/run_erm.sh @@ -0,0 +1 @@ +python main_out.py --te_d=1 --tr_d 0 3 --task=mnistcolor10 --bs=16 --aname=deepall --nname=conv_bn_pool_2 --epos=10 From c689fbb84904b7e4f1e51982d07d70e73083c983 Mon Sep 17 00:00:00 2001 From: smilesun Date: Mon, 9 Oct 2023 16:10:10 +0200 Subject: [PATCH 2/3] add gamm_d to yaml --- examples/benchmark/benchmark_fbopt_mnist_diva.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/examples/benchmark/benchmark_fbopt_mnist_diva.yaml b/examples/benchmark/benchmark_fbopt_mnist_diva.yaml index b8832eae7..604dda0f6 100644 --- a/examples/benchmark/benchmark_fbopt_mnist_diva.yaml +++ b/examples/benchmark/benchmark_fbopt_mnist_diva.yaml @@ -83,6 +83,8 @@ diva_feedforward_full: aname: diva trainer: hyperscheduler str_mu: gammad_recon + shared: + - gamma_d diva_default: aname: diva From aed3081b196506fc223854cfd7c963e376bc0bd8 Mon Sep 17 00:00:00 2001 From: smilesun Date: Mon, 9 Oct 2023 16:13:07 +0200 Subject: [PATCH 3/3] . --- examples/benchmark/benchmark_fbopt_mnist_diva.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/examples/benchmark/benchmark_fbopt_mnist_diva.yaml b/examples/benchmark/benchmark_fbopt_mnist_diva.yaml index 604dda0f6..29c97b4d1 100644 --- a/examples/benchmark/benchmark_fbopt_mnist_diva.yaml +++ b/examples/benchmark/benchmark_fbopt_mnist_diva.yaml @@ -21,7 +21,6 @@ domainlab_args: zx_dim: 0 zy_dim: 32 zd_dim: 32 - gamma_y: 1.0 nname: conv_bn_pool_2 nname_dom: conv_bn_pool_2 nname_topic_distrib_img2topic: conv_bn_pool_2 @@ -73,6 +72,7 @@ diva_fbopt_full: aname: diva trainer: fbopt str_mu: gammad_recon + gamma_y: 1.0 shared: - ini_setpoint_ratio @@ -83,6 +83,7 @@ diva_feedforward_full: aname: diva trainer: hyperscheduler str_mu: gammad_recon + gamma_y: 1.0 shared: - gamma_d