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

baeseongsu picture baeseongsu  路  3Comments

srush picture srush  路  3Comments

iakremnev picture iakremnev  路  3Comments

justusschock picture justusschock  路  3Comments

awaelchli picture awaelchli  路  3Comments