-
Notifications
You must be signed in to change notification settings - Fork 145
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
If the input of the trunk net could be set to be different #28
Comments
Dr. Lu, |
And I have made this problem done by editing the code you provide named as "darcy_triangular_notch" which don't use deepxde and is easier to be edited. But I am still looking forword to your reply about the confusion above. |
Then you can see the example https://deepxde.readthedocs.io/en/latest/demos/operator/antiderivative_aligned.html |
Dr. Lu, |
You are right. |
Thank you very much! |
Hello Dr. Lu,
I am Bo Chen from SJTU. We had some communication before in online
conference, and I have read your code of the article"A comprehensive and fair
comparison of two neural operators (with practical extensions) based on FAIR
data". It is really wonderful work and I have learnt a lot from it.
But it can be found that in the cases you offered, the input of the trunk
net is always the same distribution for every input of the branch net so that
the data can be set by "dde.data.TripleCartesianProd()" with a grid of only one
distribution.
However in my application, the input of the trunk net must be different
distribution because of the data limitation of labels. This situation is just
mentioned in your article as case I or case II ,which means different u have the
different locations of ξ.
I have made same attempts but it seems that the shape of data_trunknet
is fixed and hard to be changed. And I also see a type of error
"ValueError("DeepONet does not support setting trunk net input.")" in the
code even though I did not meet this kind of error in my attempts.
So I wonder if there is a method of that could feed the input of the trunk
net with different distribution to DEEPONET. If possible, could you give me
some guidance or a simple demo is better.
Thanks very much!
Looking forword to your reply!
The text was updated successfully, but these errors were encountered: