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

KeyError: load_weights fails because 'layer_names' is missing in extract_features.py #21

Closed
singhania1408 opened this issue Dec 7, 2017 · 3 comments

Comments

@singhania1408
Copy link

This error was coming on extract_features.py on line model.load_weights(). I am using tensorflow as backend, keras 2.0.1 and changed input dimension to 16, 112, 112, 3 of 1st layer group for working under tensorflow backend. Please help me out so that i can get correct h5 file for extracting features.

@4rshdeep
Copy link

Same problem. Any Updates?

@singhania1408
Copy link
Author

@4rshdeep I am confused how I can generate new weight file corresponding to sports dataset for 3d- CN. Do u have any knowledge regarding this??.. No one from admin side is replying?

@albertomontesg
Copy link
Collaborator

Check the Keras version using. In the requirements.txt file it is the version used which is a version modified of Keras 1.0.X. Also take into account that the code was tested and used using the Theano backend and with most recent versions may raise some incompatibilities.

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

3 participants