You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Error when using hparam_overrides which was recently introduced by: #1797. This is the log:
Traceback (most recent call last):
File "main.py", line 211, in <module>
model = RelationEmbeddingModelLit.load_from_checkpoint(
File "/home/ubuntu/anaconda3/envs/py38/lib/python3.8/site-packages/pytorch_lightning/core/lightning.py", line 1601, in load_from_checkpoint
update_hparams(hparams, hparam_overrides)
UnboundLocalError: local variable 'hparams' referenced before assignment
To Reproduce
Steps to reproduce the behavior:
Load a checkpoint using the hparam_overrides argument:
🐛 Bug
Error when using
hparam_overrides
which was recently introduced by: #1797. This is the log:To Reproduce
Steps to reproduce the behavior:
hparam_overrides
argument:Expected behavior
No bug.
Environment
The text was updated successfully, but these errors were encountered: