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

Can't load your pre-trained model. #12

Open
sklipnoty opened this issue Mar 15, 2019 · 0 comments
Open

Can't load your pre-trained model. #12

sklipnoty opened this issue Mar 15, 2019 · 0 comments

Comments

@sklipnoty
Copy link

File "/usr/local/lib/python3.6/site-packages/keras/engine/topology.py", line 3115, in load_weights_from_hdf5_group
str(len(filtered_layers)) + ' layers.')
ValueError: You are trying to load a weight file containing 145 layers into a model with 123 layers.

Also you should make a difference between weights (.hdf5) and the model+weights (.h5)

I don't see the point why you would include weights and then don't include an easy way to test the inference of the model. (which seems very convoluted.)

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

1 participant