Replies: 2 comments
-
It is unclear to me what the problem is. Are you able to save/restore the model using the demos in DeepXDE? |
Beta Was this translation helpful? Give feedback.
0 replies
-
I've learned why the problem occurs, and the reason for the error is because the kernel has already trained a model. To restore the other model, the kernel needs to be restarted. Thanks for the answer. |
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
-
Hi, I am grateful to the author for providing a very handy tool and communication platform from which I have benefited a lot. However, I am currently experiencing a problem with model saving and restoring. When I try to save a model, the following prompt appears:
Below is the code I used to save the model, this is just an attempt, I have done much larger model calculations before and the code works fine, but there is always a problem with saving and reading the model
When I try to restore the model, I get the following error:
I've only excerpted a portion of the reported errors here, and combined with the hints when saving, it appears that the model.ckpt-500.ckpt file encountered a problem during saving. By looking at the save directory, I found that the file is indeed missing.
Below is the code I used to restore the model:
May I ask what is the reason for this?
Beta Was this translation helpful? Give feedback.
All reactions