-
Notifications
You must be signed in to change notification settings - Fork 336
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ERROR:root:region layer is not supported #20
Comments
When I running command |
The same problem here |
This project only support yolo-v1, I guess you guys have downloaded the wrong cfg. Unfortunately, even if I use the cfg from darknet/cfg/yolov1/, I still got the error: detection layer is not supported. I saw some people also met this problem in other threads. For me, I remove the final layer (detection layer), because I only need the first few layers to initiate my own model. |
I just found out we should use darknet/cfg/tiny.cfg, who does not have dectection or region layer. |
When i running command :
python yolo_main.py -m prototxt/yolo_tiny_deploy.prototxt -w weights/yolo_tiny.caffemodel -i images/cat.jpg
I met error below:
F0220 18:45:25.861762 19763 net.cpp:767] Check failed: target_blobs.size() == source_layer.blobs_size() (1 vs. 2) Incompatible number of blobs for layer convX.
So I changed very bias_term in conv layer in yolo_tiny_deploy.prototxt, and change the num_output to 1024 to met the shape of source. then I can make it run but have no target detected. output is as below:
The text was updated successfully, but these errors were encountered: