Pytorch-lightning: Support OmegaConf dicts in hparams

Created on 19 May 2020  ·  2Comments  ·  Source: PyTorchLightning/pytorch-lightning

🚀 Feature

Lightning hparams were recently changed to support only dicts and ArgParse namespaces. This diff (re)introduces compatibility with OmegaConf DictConfig, which is the type of config that Hydra uses.

Motivation

Using Hydra + Lightning

enhancement help wanted won't fix

Most helpful comment

Running into the same issue when trying to use things like auto_lr_find
pytorch_lightning.utilities.exceptions.MisconfigurationException: When auto_lr_find is set to True, expects that hparams either has fieldlrorlearning_ratethat can overridden

All 2 comments

Running into the same issue when trying to use things like auto_lr_find
pytorch_lightning.utilities.exceptions.MisconfigurationException: When auto_lr_find is set to True, expects that hparams either has fieldlrorlearning_ratethat can overridden

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

williamFalcon picture williamFalcon  ·  3Comments

anthonytec2 picture anthonytec2  ·  3Comments

polars05 picture polars05  ·  3Comments

as754770178 picture as754770178  ·  3Comments

versatran01 picture versatran01  ·  3Comments