From 2987219b30734db4af393d2c483d2fae2ca9c86c Mon Sep 17 00:00:00 2001 From: larshertel Date: Sun, 21 Oct 2018 11:48:33 -0700 Subject: [PATCH] fixed hp ranges for logged params --- examples/parallel-examples/mnistmlp/runner.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/parallel-examples/mnistmlp/runner.py b/examples/parallel-examples/mnistmlp/runner.py index fef907e..48f0dc3 100644 --- a/examples/parallel-examples/mnistmlp/runner.py +++ b/examples/parallel-examples/mnistmlp/runner.py @@ -9,9 +9,9 @@ def run_example(FLAGS): """ Run parallel Sherpa optimization over a set of discrete hp combinations. """ - parameters = [sherpa.Continuous('lrinit', [0.1, 0.001], 'log'), + parameters = [sherpa.Continuous('lrinit', [0.001, 0.1], 'log'), sherpa.Continuous('momentum', [0., 0.99]), - sherpa.Continuous('lrdecay', [1e-2, 1e-7], 'log'), + sherpa.Continuous('lrdecay', [1e-7, 1e-2], 'log'), sherpa.Continuous('dropout', [0., 0.5])] if FLAGS.algorithm == 'BayesianOptimization':