-
Notifications
You must be signed in to change notification settings - Fork 755
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
Add PI-DeepONet example for 1D Poisson equation. #1311
Add PI-DeepONet example for 1D Poisson equation. #1311
Conversation
I suggest splitting this PR into two separate PRs
|
9760c7a
to
0877e11
Compare
Thanks, @lululxvi, for your review! This PR is now split into:
I have found better solutions for the points mentioned, see comments above. |
@samuelburbulla Thanks for making this very useful example. @lululxvi would you be merging this soon? |
be1a659
to
43d755c
Compare
Which backends does the new code support? The existing code supports tensorflow 1.x. |
f4c31f3
to
d6fc405
Compare
This example is tested with tensorflow.compat.v1, tensorflow, and pytorch. |
I have added a few PI-DeepONet examples, see https://deepxde.readthedocs.io/en/latest/demos/operator.html#pi-deeponet Could you split this PR into two PRs:
|
Nice!
Done, see #1379. |
d451ad9
to
ee4efe1
Compare
Rebased on master. Together with #1403, this example works with all mentioned backends. Is there anything else that needs to be done here? |
Reformat via black https://pypi.org/project/black/ |
ee4efe1
to
c44269a
Compare
This PR proposes an example for training a physics-informed DeepONet with DeepXDE.
The example solves a simple one-dimensional Poisson equation where the source term is the input to the solution operator.
Related to #1308.