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

demo.py ValueError #54

Open
jihwan1008 opened this issue Jan 8, 2020 · 1 comment
Open

demo.py ValueError #54

jihwan1008 opened this issue Jan 8, 2020 · 1 comment

Comments

@jihwan1008
Copy link

Hi,

I'm trying to run demo.py, whereas I keep facing ValueError: You are trying to load a weight file containing 25 layers into a model with 21 layers.. Since there are variety of pre-trained models, I'm not sure how to figure out the proper pre-trained model for demo.py. I printed out len(model.layers), but it spits out the wrong number.

Any help would be deeply appreciated.
Thanks in advance.

@AliaksandrSiarohin
Copy link
Owner

Hi, the fashion checkpoints have more layers than market. Plus the number of layers depend on the model with dsc or without it, please refer to #47
. So in demo.py you should specify is your model use dsc and if the model is trained on market or fashion.

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