-
Notifications
You must be signed in to change notification settings - Fork 82
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
Saving and loading Flux models containing optimizers #329
Comments
rlrs
changed the title
Saving and loading Flux models containing optimizers.
Saving and loading Flux models containing optimizers
Jun 16, 2021
Hi @rlrs, |
Sorry for the lack of information. A pretty minimal example is this,
I'm on Julia 1.6.1, JLD2 v0.4.9, Flux v0.12.4. |
Merged
Hi, |
JonasIsensee
added a commit
that referenced
this issue
Jun 17, 2021
Thank you, it works in v0.4.10. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When saving and loading a model as explained in the Flux docs, I get the error
My model, however, is a bit more involved than a simple Flux
Chain
. The problem seems to be that it also includes anADAM
optimizer, which has a field calledstate
with the valueIdDict{Any,Any}()
. I don't understand why this cannot be loaded?The text was updated successfully, but these errors were encountered: