-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
[hparams] save_hyperparameters doesn't save kwargs #2188
Comments
if don't use |
Could you please share your model example? |
I can train this model, but when I load from checkpoint, it says kwargs hasn't |
I see, we need to ignore |
I'm guessing this is why 0.8.0 causes this error, it's trying to save all args (including dataframes in my case) outside of hparams? Edit: #2250 |
❓ Questions and Help
when I use hyperparemeters like docs:
model checkpoint doesn't save args in kwargs. But kwargs is important. Args such as
num_frames, img_size, img_std ...
must be used in creatingdataloader
, but it will be tedious if writes them in__init__
explicitly . it can make code clean if hides them inkwargs
.Before I use
hparams
, it's ok. But now it's not recommended to usehparams
, is there any good idea to deal with this problem?The text was updated successfully, but these errors were encountered: