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

ckpt to h5 #6

Closed
sourav22899 opened this issue May 27, 2019 · 2 comments
Closed

ckpt to h5 #6

sourav22899 opened this issue May 27, 2019 · 2 comments

Comments

@sourav22899
Copy link

sourav22899 commented May 27, 2019

@DTaoo The original checkpoint file is provided here. How did you generate a HD5 file without retraining the model ?

@beasteers
Copy link

@sourav22899 I have an updated VGGish Keras implementation which includes a conversion script vggish_keras/download_helpers/convert_ckpt.py.

For it to work, you need:

The main difference is that I load weights with by_name=True, so I only create a single weights file (that can be used with or without the top). The weights file also includes the post-processing weights which can optionally be added to the top like in the original implementation.

@sourav22899
Copy link
Author

Thanks for the reply.

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