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

Question about trained_model.h5 #121

Open
Bear-Lx opened this issue Nov 3, 2020 · 1 comment
Open

Question about trained_model.h5 #121

Bear-Lx opened this issue Nov 3, 2020 · 1 comment

Comments

@Bear-Lx
Copy link

Bear-Lx commented Nov 3, 2020

During model training, the callback function holds some weights named weights-{epoch:02d}.h5.
image
At the end of the training, a weight namedtrained_model.h5 was saved.
image

During the test, I used the weight weights-39.h5 by the callback function and the weight trained_model.h5 after the training, respectively, but got different results.
Here are the results of my tests using different weights
image
image
I find the trained_model.h5 holds the weights obtained in the last step of the training process.
image
So, which one should use when testing model?

@hwxweweeee
Copy link

Hi, can you share your changed code to me? I cannot get the weights.h5 files. I don't know where cause the problem, and other parameters can work.....
I saw the Chinese in your picture, very happy !!! We are all Chinese ~~
Thank you very much ~

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