Closed doubao2 closed 2 years ago
I cannot understand your question "code result cannot display the graph of the obtained numerical solution".
This is the running result of my code. It has only one graph of training loss. I can't get the solution of the partial differential equation. Is there any less code?
When you use dde.saveplot(losshistory, train_state, issave=True, isplot=True)
it saves several .dat
files in the pwd
. You can plot test.dat
with anything you wish.
This is exactly what you need:
https://github.com/lululxvi/deepxde/issues/276#issuecomment-827279923
Hello Lu, I try to solve a two-dimensional partial differential equation that solves the option value over time. The equation has no exact solution, so it is not written in the code. but the code result cannot display the graph of the obtained numerical solution. where the problem is?