demo.py ValueError #26

Open
opened 2025-10-14 17:36:34 -06:00 by navan · 0 comments
Owner

Originally created by @jihwan1008 on 1/8/2020

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.

*Originally created by @jihwan1008 on 1/8/2020* 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.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github/pose-gan#26
No description provided.