NeuroDiffGym / neurodiffeq

A library for solving differential equations using neural networks based on PyTorch, used by multiple research groups around the world, including at Harvard IACS.
http://pypi.org/project/neurodiffeq/
MIT License
680 stars 89 forks source link

Saving subclass of solvers #169

Open ptflores1 opened 2 years ago

ptflores1 commented 2 years ago

The block https://github.com/NeuroDiffGym/neurodiffeq/blob/ec1ddea43caa191963352bbf87d7a478445986b7/neurodiffeq/solvers_utils.py#L276-L280

is failing when saving instances of a subclass of Solver1D or Solver2D

sathvikbhagavan commented 2 years ago

Hello,

Can you provide a code snippet where it is failing?