Photon AI Research NeuralSolvers Versions Save

Neural network based solvers for partial differential equations and inverse problems :milky_way:. Implementation of physics-informed neural networks in pytorch.

v.0.1.2

1 year ago

We added Geometries as a new interface for the PDE dataset. This allows a generic inference pipeline and reduces the amount of code to solve a PDE with NeuralSolvers. This includes various sampling methods and brings adaptive sampling into Neural Solvers. Furthermore, we improved the prints and the logging features.

v.0.1.1

2 years ago

New Features

Tensorboard logging is available and can be activated in the fit() function. Logger enables automatic tracking of all loss terms and their weights

Logging of Loss gradients in order to identity gradient pathologies, you can track the gradient updates by adding a logger and setting the track_gradient flag in the fit() function.

Bugfixes

Fix the usage of the to method in MLP and FingerNet

Examples

A working example of the heat equation

  • #48
  • #41

v.0.1

2 years ago

New Features

Learning Rate Annealing is now available and can be activated in the fit()function. This algorithm balances the weights for initial and boundary conditions depending on the stiffness of the underlying PDE

Logger are available and can be activated in the fit()function. Logger enable automatic tracking of all loss terms and theire weights for example with Weights and Biases which is implemented yet. By implementing the Logger_Interface you can build your own loggers.

Pretraining the fit() function allows a pretraining by optimizing only on the initial condition

Callbacks its possible to write custom callbacks in order to modify the behavior in the training loop. At the moment only callbacks at the end of epochs are supported

Bugfixes

Fix the bug in the calculation of neumann and robin boundary condition

Examples

A working example of burgers equation

Resolved issues

  • issue #24
  • issue #19
  • issue #13
  • issue #30
  • issue #31