Skip to content
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

Issue using the model with opencv #16

Closed
yuangreg opened this issue Oct 1, 2018 · 2 comments
Closed

Issue using the model with opencv #16

yuangreg opened this issue Oct 1, 2018 · 2 comments

Comments

@yuangreg
Copy link

yuangreg commented Oct 1, 2018

Hi,
I downloaded your model, i.e., mobilenet_yolov3_lite_deploy.caffemodel and mobilenet_yolov3_lite_deploy.prototxt, and use the opencv package for testing, which is given as follows.
https://github.com/opencv/opencv/blob/master/samples/dnn/object_detection.py.

The following issue comes up.
error: (-2:Unspecified error) Can't create layer "detection_out" of type "Yolov3DetectionOutput" in function 'getLayerInstance'

I have tried other caffe models from github, and they all works fine under this opencv tool.

Could you please help on this?

@eric612
Copy link
Owner

eric612 commented Oct 5, 2018

Yolov3DetectionOutput were my custom define layer , If you want use it in opencv , you need miragrate code and compile it first. Or you can try the converted darknet-yolov3 model first .

@eric612 eric612 closed this as completed Oct 18, 2018
@mv2050arshad
Copy link

Hi,
I downloaded your model, i.e., mobilenet_yolov3_lite_deploy.caffemodel and mobilenet_yolov3_lite_deploy.prototxt, and use the opencv package for testing, which is given as follows.
https://github.com/opencv/opencv/blob/master/samples/dnn/object_detection.py.

The following issue comes up.
error: (-2:Unspecified error) Can't create layer "detection_out" of type "Yolov3DetectionOutput" in function 'getLayerInstance'

I have tried other caffe models from github, and they all works fine under this opencv tool.

Could you please help on this?

Hi. could you successful to solve this issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants