PDE loss function with multiple subnetworks #903
Unanswered
leocotteleer
asked this question in
Q&A
Replies: 1 comment 2 replies
-
See examples at https://deepxde.readthedocs.io/en/latest/demos/pinn_forward.html and https://deepxde.readthedocs.io/en/latest/demos/pinn_inverse.html |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi Prof @lululxvi, thanks for the very nice work!
I am trying to solve an inverse problem that estimates PDE coefficients from CFD data. First, I have created two simple neural nets to assimilate CFD data (values, derivatives etc).
Let's say:
Now I'd like to create a third network with a physics-informed loss function that takes into account the two first networks (net1 and net2):
However, it does not work as model.predict() is a Numpy call while x is a symbolic Tensor.
Do you have any ideas on how to proceed? I am working with the default backend tensorflow.compat.v1
Thanks in advance!
Beta Was this translation helpful? Give feedback.
All reactions