Small loss but big test error in backend tf with Darcy flow. #1585
Unanswered
BraveDrXuTF
asked this question in
Q&A
Replies: 1 comment 5 replies
-
It should be the loss. Could you provide a link to the code? |
Beta Was this translation helpful? Give feedback.
5 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.
Uh oh!
There was an error while loading. Please reload this page.
-
Dear Dr. Lu and contributors,$\nabla \cdot k(\mathbf{x}) \nabla T=Q $ , where $\mathbf{x}$ is piecewise constant, where $k'(\mathbf{x})=0 $ , so it would not be affected by the issue (and no definition on the boundaries of different constants, so I'm also having doubt whether it can be applied with Pi-deeponet directly). And here is PDE definition of my script (If needed I could paste all, but they are messy now):
Hi, I'm handling Darcy flow case with Pi-deeponet in tf1 backend, with
where I got the following training log:
Please ignore the test loss as I have not treated it well. According to the source code in deepxde,
self.outputs_losses_train = [self.net.outputs, losses_train],As you can see, the first col of training loss is not loss, instead, what displayed is essentially the net output and real train loss. I'm really confused by this.
losses_trainis so small. Do you think it is the problem of my pde definition?And the test loss is really high, around 2.-3., even worse than no training.
In fact, I'm working to compare PI-deepoent with my variational operator learning method on the Darcy flow case. Any advice would be helpful.
Beta Was this translation helpful? Give feedback.
All reactions