rodrigo2019 / keras_yolo2

MIT License
46 stars 15 forks source link

A question about racoon model #24

Closed germal closed 3 years ago

germal commented 3 years ago

Hello @rodrigo2019 ,

Thank you for your very instructive repo. I understand that, in order to try yolov2 only for inference , I should load in addition to backend weights, the frontend weights , for example the the pre-trained weights with raccoon label. But which weights this frontend model contains ? Weights for Backend layers + top/detector layers or only weights for the top/detector layers ? If I , just for trial,I use them as backend model , the error seems to point out that it contains only top layers

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

Thanks in advance for your help Regards germal