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

Intermediate Time Step Solution #58

Closed
sumantkrsoni opened this issue Jun 1, 2020 · 4 comments
Closed

Intermediate Time Step Solution #58

sumantkrsoni opened this issue Jun 1, 2020 · 4 comments

Comments

@sumantkrsoni
Copy link

Hello @lululxvi
After training the time evolution problem :

  • can we get the intermediate stage of results after training the model?
@lululxvi
Copy link
Owner

lululxvi commented Jun 1, 2020

For example, you want to get the results every 1000 steps. There are a few ways to do:

  1. You can train 1000 steps, and do something. Then train for the next 1000 steps.
  2. You can save the trained network every certain steps, see the example Poisson_Dirichlet_1d.py. Then you can restore any intermediate network. See more at Data sampling strategy and model save/restore #57

@sumantkrsoni
Copy link
Author

#57 helps me a lot.

Further, Suppose we have time interval T ( year) = (0 , 2) and 2D square geometry.

Then,

  • how can we get the result at time 0.5, 1, 1.5, and at 2 Years?

Also,

  • Can we plot the domain like:
    ( left edge is a matter of concern).

spiral image

@lululxvi
Copy link
Owner

lululxvi commented Jun 2, 2020

See Q: How can I use a trained model for new predictions? at https://deepxde.readthedocs.io/en/latest/user/questions_answers.html.

You can use a polygon to approximate the left boundary.

@sumantkrsoni
Copy link
Author

Thanks @lululxvi , I got it.

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

2 participants