From e269b504b8324037afe17d18b6b02a39f7d6133d Mon Sep 17 00:00:00 2001 From: Samuel Neumann Date: Thu, 22 Jun 2023 08:58:24 -0600 Subject: [PATCH] Revert changes to `arg_iter_config_sql.toml` --- examples/configs/arg_iter_config_sql.toml | 6 +++--- examples/experiment.jl | 5 +++-- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/examples/configs/arg_iter_config_sql.toml b/examples/configs/arg_iter_config_sql.toml index b022732..7fc06fe 100644 --- a/examples/configs/arg_iter_config_sql.toml +++ b/examples/configs/arg_iter_config_sql.toml @@ -15,6 +15,6 @@ arg_iter_type = "iter" steps=102902 [sweep_args] -opt2 = [5, 6] -opt1 = "1:2" -"opt3+opt4" = [["a", 1], ["b", 2]] +opt2 = [5,6,7,8,9] +opt1 = "1:50" +"opt3+opt4" = [["a", 1], ["b", 2], ["c", 3]] diff --git a/examples/experiment.jl b/examples/experiment.jl index 1e11a87..8123f3a 100644 --- a/examples/experiment.jl +++ b/examples/experiment.jl @@ -41,11 +41,12 @@ function main_experiment(config::Dict, extra_arg = nothing; progress=false, test throw("Oh No!!!") end - Dict("mean"=>0.1, + Dict( + "mean"=>0.1, "vec"=>rand(100), "mat"=>rand(10, 10), - "vec_vec"=>[rand(10) for _ in 1:10], "3darr"=>reshape(collect(1:27), 3, 3, 3), + "vec_vec"=>[rand(10) for _ in 1:10], ) end end