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

ValueError:You are trying to load a weight file containing 2 layers into a model with 44 layers #1

Open
CrystalJingohmio opened this issue Sep 20, 2018 · 3 comments

Comments

@CrystalJingohmio
Copy link

I run this command line

python predict.py -c config.json -w weights/trained_wts.h5 -i images/1.jpg

and get error
ValueError: You are trying to load a weight file containing 2 layers into a model with 44 layers.

any ideas how to fix it

Thank you

@bibin-sebastian
Copy link

bibin-sebastian commented Oct 12, 2018

Looks like the weight file is wrong. Request you to post the correct weight file or specify the suitable backend. Thanks for your effort and time.

@sudonitin
Copy link

Kindly upload the proper weight file or delete this rep. People come with hopes and get nothing

@jjldv
Copy link
Contributor

jjldv commented Mar 25, 2019

#3 Workaround

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

4 participants