Skip to content
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

Generalization of the network #282

Closed
Mengting009 opened this issue May 6, 2021 · 3 comments
Closed

Generalization of the network #282

Mengting009 opened this issue May 6, 2021 · 3 comments

Comments

@Mengting009
Copy link

Hi Lu,

Thank you for sharing the library.

It seems that a trained network can only be used to predict the results of the same geometry with the same boundary condition and initial condition. Once any of the above-mentioned conditions is changed, the network has to be trained again for new predictions. I am wondering is there a possibility to generalize the approach such that once the network is trained, it can be used for predictions with different initial and boundary conditions? Thank you!

@lululxvi
Copy link
Owner

Yes, PINN is for specific IC/BC. If you want to train a network for different IC/BC, you can use these IC/BC as an extra network input, and train the network for different IC/BC. Another way is to use DeepONet, see https://doi.org/10.1038/s42256-021-00302-5

@alokwarey
Copy link

alokwarey commented May 13, 2021

@lululxvi: Is there an example or sample code snippet on how to setup a problem for different IC/BC using PINNs with deepxde?

@lululxvi
Copy link
Owner

No good examples yet, but see #273

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants