Replies: 1 comment 7 replies
-
|
No, the boundary loss is always behind the pde loss. |
Beta Was this translation helpful? Give feedback.
7 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi everyone!
First of all, thank you very much for this package! I've been spend the last weeks studying it and it is really amazing.
I have a question that maybe could help more people in the near future. The documentation about model.compile doesn't say anything how is the order or how many elements need to have the list received as argument of loss_weights. Intuitively, I would say first should be the boundary conditions in the same order as defined and then the elements associated to the PDE residual loss. Am I right?
For example, the forward second order ODE utilizes
loss_weights=[0.01,1,1]since the function 'ode' just return a single element and it has two boundary conditions.Same idea, the inverse Poisson equation has
loss_weights=[1, 100, 1000], does this mean the first boundary condition has a weight of 1, the second boundary condition (observer) has a weight of 100 and the pde loss a weight of 1000?Thanks in advance for your help.
Beta Was this translation helpful? Give feedback.
All reactions