Replies: 1 comment 2 replies
-
In your code, you have two independent models. You can train the first set of points, stop the code and save the model, change the points, load the previous model, and then continue training. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I want to construct a model with two different training domains,$(t, x)\in[0, 25]\times[-50, 150]$ and $(t, x)\in[0, 50]\times[-50, 150]$ . I want to train the model in such a way that it trains on the first domain for 5000 ADAM iterations and then L-BFGS, then it trains on the second domain (without reinitializing the weights) for 10000 ADAM iterations and then L-BFGS. Is it possible? If so, could someone provide me with a brief code snippet?
Thank you!
EDIT
I looked up the code and realized/speculate that the weights of nn are separated from the model instance. Using this, I have the following code
where data1 and data2 are the above mentioned domains. Am I on the correct path?
Beta Was this translation helpful? Give feedback.
All reactions