Closed Bawaw closed 2 years ago
Thank you for reporting the issue. This is actually something that is known internally and will be fixed in an upcoming release.
If you need a quick fix, this should be resolved by setting the .autograd_function
to None
or any other value that can be pickled.
Model save still doesn't work in version 1.0.2. Any plans to fix this bug?
We fixed the issue by updating release 1.0.2 :)
Describe the bug
Hey DiffEqML team,
I just encountered this error when attempting to save a trained model:
The problem only seems to occur when using the
adjoint
sensitivity,autograd
works as expected.Best, Balder
Step to Reproduce
Expected behavior
Model should be saved in the file 'save_test.pt', similar to the way it behaves when using the
autograd
sensitivity.