Epistimio / hydra_orion_sweeper

Hydra Sweeper Plugin for Orion
7 stars 2 forks source link

Running the examples script does not produce the expected behaviour #1

Closed jerpint closed 2 years ago

jerpint commented 2 years ago

When running the provided example script in example/, the default values are always used and no apparent sweep seems to occur, no matter how many times the script is executed. I would expect the sweep to launch 100 times with different values every time.

Steps to reproduce

$ cd hydra_orion_sweeper/example/
$ python my_app.py

ret = run_job(
[2022-07-20 15:43:09,602][__main__][INFO] - dummy_training(dropout=0.600, lr=0.010, opt=Adam, batch_size=8) = 5.380

Additional info

$ pip freeze | grep hydra
hydra-core==1.2.0
hydra-joblib-launcher==1.2.0
hydra-orion-sweeper==1.0.0
jerpint commented 2 years ago

the issue is that you should run the script as follows:

$ python my_app.py -m