AlexeyAB / darknet

YOLOv4 / Scaled-YOLOv4 / YOLO - Neural Networks for Object Detection (Windows and Linux version of Darknet )
http://pjreddie.com/darknet/
Other
21.68k stars 7.96k forks source link

Weight, cfg file mismatch. #394

Open everlytics opened 6 years ago

everlytics commented 6 years ago

Hi @AlexeyAB ,Great implementation of Darknet! This issue is basically regarding custom training.I had generated weights for tiny-yolo training using the follwing command: '''./darknet partial tiny-yolo-voc.cfg tiny-yolo-voc.weights tiny-yolo-voc.conv.13 13''' This is on my linux machine.Then using tiny-yolo-voc.conv.13 i had trained my model.The model works when i run darknet test. The issue occurs while porting to tensorflow.I used https://github.com/thtrieu/darkflow repo to do this previously and it had worked when i used darknet19_448.conv.23 and tiny-yolo-voc.cfg.But the new trained weights dont work and give an over-read error.When searching darkflow issues i found this is due to weight-cfg mismatch. My question is that is if tiny-yolo-voc.conv.13 is the right weight to use with tiny-yolo-voc.cfg.

AlexeyAB commented 6 years ago

@everlytics Hi,

But the new trained weights dont work and give an over-read error.