[Minor Bug] Unnecessary and mildy confusing print statement during hyperparameter optimization
See original GitHub issueStarting a hyperparameter run with train.py prints out something like this:
========== LunarLanderContinuous-v2 ==========
Seed: 3139539977
OrderedDict([('batch_size', 64),
('ent_coef', 0.01),
('gae_lambda', 0.98),
('gamma', 0.999),
('n_envs', 16),
('n_epochs', 4),
('n_steps', 1024),
('n_timesteps', 1000000.0),
('policy', 'MlpPolicy')])
Using 4 environments
Overwriting n_timesteps with n=4000000
The problem is that the OrderedDict that’s printed is the parameters for the environment in the relevant .yml file. It has no impact on hyperparameter tuning, isn’t even used, can make it look like you’re doing something wrong (e.g. by default you’re tuning hyperparameters that aren’t included in that list) and the origin of it takes a shockingly long time to hunt down to confirm you aren’t somehow doing something wrong.
Issue Analytics
- State:
- Created 2 years ago
- Comments:5 (5 by maintainers)
Top Results From Across the Web
Common Problems in Hyperparameter Optimization - SigOpt
SigOpt shows solutions to some of the most common problems we've seen people run into when implementing hyperparameter optimization.
Read more >A Novice's Guide to Hyperparameter Optimization at Scale |
The search algorithm governs how hyperparameter space is sampled and optimized (e.g. random search). From a practical standpoint, the search ...
Read more >Machine Learning Glossary - Google Developers
A training-time optimization in which a probability is calculated for all the positive labels, using, for example, softmax, but only for a ...
Read more >Stan Modeling Language
Statements in Stan are interpreted imperatively, so their order matters. ... Stan supports print statements with one or more string or expression arguments....
Read more >Deep Learning - USTC Vision and Multimedia (VIM)
of biologically inspired machine learning often worked with small, ... deep learning have brought the latest top-5 error rate in this contest down...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
(sorry for the delayed reply)
I meant a message like “Default hyperparameters for environment (ones being tuned will be overridden)”"
sounds good 😉 (my upvote did not create a notification …)