gklz1982 / caffe-yolov2

Other
164 stars 128 forks source link

How to detect a picture after use convert_weights_to_caffemodel.py get a caffe model weight #13

Open tiger1933 opened 6 years ago

tiger1933 commented 6 years ago

hi ,thanks for your codes.I have get caffe model by convert_weights_to_caffemodel.py ,but i don't know how to detect a picture with your codes,can you show one detection example to us .thanks!

bharathbv commented 6 years ago

I have same problem. After conversion how do I test them?

Serge3006 commented 6 years ago

Hi, I dont know if you are still interested in this but you have recompile your caffe version with the version provided in this repository. That will allow you to use the reorganize layer and run the model to test it in images.

For testing both in images and using webcam you can use the scripts that are in my github: https://github.com/Serge3006/caffe-yolov2/blob/master/yolo_detect.py https://github.com/Serge3006/caffe-yolov2/blob/master/yolo_webcam.py