Replies: 2 comments
-
|
One possible issue of your code: The following code will make some trouble for the back-propgragation. for ind, ele in enumerate(x):
ele_dum=ele.cpu().detach().numpy() |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Hello brother, I am currently reproducing the case you mentioned in the paper. Unfortunately, in the second case, I will not handle different media interfaces. Do you know if you have any good suggestions or could you take a look at your code. It's really presumptuous. Good luck |
Beta Was this translation helpful? Give feedback.
0 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.
Hello, thank you very much for the deepxde framework, it works very well. But recently I had some problems with it when I was reproducing someone else's paper (Physics Informed Neural Networks for Electromagnetic Analysis - IEEE Transactions on Magnetics). There are three examples in this paper, and I encountered the problem when reproducing the third example: Multi-domain Magnetostatic. Its purpose is to give the initial current and find out its magnetic vector potential distribution. I ran into three problems.
When the value of loss is not nan, the output is close to that in the paper, as shown in Figure 1, but it still has problems with the order of magnitude, which is 100 times different from that in the original paper:
Fig. 1
When the vacuum permeability is too small, resulting in a return loss of nan, its output is erroneous, as shown in Figure 2, and the order of magnitude and distribution do not match the original.
Fig. 2
Its output is shown in Figure 3, which I think is wrong because just changing a circle to a square should not have this change, I think the correct output should be close to when it is a circle and should not have a negative number.

Fig.3
Thank you again very much for the deepxde framework! And I wish you all the best!
Beta Was this translation helpful? Give feedback.
All reactions