adding extra loss calculation during training #1732
Burhan3228
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello all, and thanks for such a great package. Straight to the question, I have the following problem related to loss calculation during training. I am trying to solve nagumo equation with initial condition that has trinable parameter. I d like to optimize this parameter knowing that the solution of this pde becomes stationary after certain time. So pde solution with trained initial condition parameter is assumed to be teoretically same as the time-independent solution of same equation (which is an ode). I dont know how exactly i should define the loss. I combine the residual of original equation and time-inpedendent version of the sam equation but i feel it doesnt seem perfectly right as training doesnt produce the optimum initial condition parameter i expect. Judging from the code line added below, can you kindly suggest me how to modify/make corrections so that I d get the expected outcome. thanks in advance.
Beta Was this translation helpful? Give feedback.
All reactions