Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: OptArg values #29

Closed
schneider-mathias opened this issue Jun 25, 2018 · 0 comments
Closed

Bug: OptArg values #29

schneider-mathias opened this issue Jun 25, 2018 · 0 comments

Comments

@schneider-mathias
Copy link

When defining range based arguments, e.g.
parser.opt_range('--neurons', default=50, type=int, tunable=True, low=100, high=800, nb_samples=10)
calculated values are not correct. In this case only min and max will be used for hyperparameter optimization instead of the requested 10 parameters which is caused by missing assignment of the member variable (line 372).

Furthermore if log_base parameter is set, only a single value is determined causing an exception in __flatten_params (argparse_hopt.py, line 339). As a fix add nb_samples as argument for np.random.uniform fucntion call (line 379).

@schneider-mathias schneider-mathias changed the title OptArg values Bug: OptArg values Jun 25, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants