We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Dear Ehsan,
I hope that your are doing great.
I need your help and I will highly appreciate it.
I am training a scimodel ("model1"), saving its weights in .hdf5 format. e.g., "model1.hdf5"
Then staying in the same notebook, I create another cell and another scimodel "model2" with identical variables, inputs and outputs as in "model1".
This time i just modified the "targets" variable....a little.....
Now I am training "model2" with loading weights from "model1.hdf5"
it consistently tells me that :
ValueError: Layer count mismatch when loading weights from file. Model expected 12 layers, found 10 saved layers.
I have even re-ran the notebooks in case their is some glitch.... but to no resolve.
Please guide me, how can i resolve this issue?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Dear Ehsan,
I hope that your are doing great.
I need your help and I will highly appreciate it.
I am training a scimodel ("model1"), saving its weights in .hdf5 format. e.g., "model1.hdf5"
Then staying in the same notebook, I create another cell and another scimodel "model2" with identical variables, inputs and outputs as in "model1".
This time i just modified the "targets" variable....a little.....
Now I am training "model2" with loading weights from "model1.hdf5"
it consistently tells me that :
ValueError: Layer count mismatch when loading weights from file. Model expected 12 layers, found 10 saved layers.
I have even re-ran the notebooks in case their is some glitch.... but to no resolve.
Please guide me, how can i resolve this issue?
The text was updated successfully, but these errors were encountered: