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

Transfer EfficientNet_v1 problem! #1

Open
Greatpep opened this issue Aug 29, 2019 · 0 comments
Open

Transfer EfficientNet_v1 problem! #1

Greatpep opened this issue Aug 29, 2019 · 0 comments

Comments

@Greatpep
Copy link

Firstly thanks for your brilliant model implement!
But when I try to transfer EfficientNet_v1 with efficientnet-b1_imagenet_1000.h5, there is a bug said "Layer #1 (named "conv2d_1") expects 2 weight(s), but the saved weights have 1 element(s)."
I load the checkpoint by model.load_weights(TRANSFER_MODEL_NAME, by_name = True)
The checkpoint was downloaded from https://github.com/qubvel/efficientnet/releases/download/v0.0.1/efficientnet-b1_imagenet_1000.h5
I know the which layer the bug come from but can not understand why this conv2D layer expect 2 weights and does the problem comes of the checkpoint or the code?

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