allanzelener / YAD2K

YAD2K: Yet Another Darknet 2 Keras
Other
2.71k stars 879 forks source link

I try to generate yolo.h5 and use this command: python yad2k.py yolo.cfg yolo.weights model_data/yolo.h5 #181

Open garychian opened 4 years ago

garychian commented 4 years ago

File "yad2k.py", line 248, in _main raise ValueError('Unsupported section header type: {}'.format(section)) ValueError: Unsupported section header type: shortcut_0

garychian commented 4 years ago

It gives me the error shown above, anyone can help me with that?

mehboobillahi56 commented 4 years ago

Hey, @garychian did you find a solution to this problem?

khaledhasanzami commented 1 year ago

Hey, @garychian . Have you found any solution yet?

alecGraves commented 1 year ago

Shortcut layers were never implemented. I think this only worked for yolo v2, so you could try downloading an older model. Regardless, this project is mostly abandoned. Try using darknet directly, or PyTorch object detection.