xingwangsfu / caffe-yolo

YOLO (Real-Time Object Detection) in caffe
520 stars 336 forks source link

Tiny yolo provided in the examples not working #29

Open ashwinnair14 opened 7 years ago

ashwinnair14 commented 7 years ago

When I run the tiny yolo example provided in the repo (python yolo_main.py -w yolo_tiny.caffemodel -m prototxt/yolo_tiny_deploy.prototxt -i images/dog.jpg) I get the following error

I0926 13:23:49.339999  7553 net.cpp:261] This network produces output result
I0926 13:23:49.340031  7553 net.cpp:274] Network initialization done.
I0926 13:23:49.448806  7553 upgrade_proto.cpp:66] Attempting to upgrade input file specified using deprecated input fields: yolo_tiny.caffemodel
I0926 13:23:49.448825  7553 upgrade_proto.cpp:69] Successfully upgraded file specified using deprecated input fields.
W0926 13:23:49.448830  7553 upgrade_proto.cpp:71] Note that future Caffe releases will only support input layers and not input fields.
F0926 13:23:49.448843  7553 net.cpp:758] Check failed: target_blobs.size() == source_layer.blobs_size() (1 vs. 2) Incompatible number of blobs for layer conv1
*** Check failure stack trace: ***
Aborted (core dumped)

Was anyone able to solve this and run the tiny yolo example ??

JefferyGong commented 7 years ago

@ashwinnair14 hello. I have the same error with you. Have you solved the problems?

avspavan commented 7 years ago

Did you guys resolve this already? I found that if the bias (in each conv) is set to 'true', this gets resolved. Is this what you did?