We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
when I run object_detection_yolo.py, I got this error
user@user:~/Desktop/YOLOOpenCV$ python3 object_detection_yolo.py OpenCV(3.4.1) Error: Parsing error (Unknown layer type: shortcut) in ReadDarknetFromCfgFile, file /io/opencv/modules/dnn/src/darknet/darknet_io.cpp, line 503 Traceback (most recent call last): File "object_detection_yolo.py", line 33, in net = cv.dnn.readNetFromDarknet(modelConfiguration, modelWeights) cv2.error: OpenCV(3.4.1) /io/opencv/modules/dnn/src/darknet/darknet_io.cpp:503: error: (-212) Unknown layer type: shortcut in function ReadDarknetFromCfgFile
How can I solve this?
The text was updated successfully, but these errors were encountered:
you should use OpenCV3.4.2 to try it. OpenCV3.4.1 may be not support YOLOv3.
Sorry, something went wrong.
@amusi Thank you amusi. I am Ok now!!!
@amusi Thanks amusi !!
No branches or pull requests
when I run object_detection_yolo.py, I got this error
user@user:~/Desktop/YOLOOpenCV$ python3 object_detection_yolo.py
OpenCV(3.4.1) Error: Parsing error (Unknown layer type: shortcut) in ReadDarknetFromCfgFile, file /io/opencv/modules/dnn/src/darknet/darknet_io.cpp, line 503
Traceback (most recent call last):
File "object_detection_yolo.py", line 33, in
net = cv.dnn.readNetFromDarknet(modelConfiguration, modelWeights)
cv2.error: OpenCV(3.4.1) /io/opencv/modules/dnn/src/darknet/darknet_io.cpp:503: error: (-212) Unknown layer type: shortcut in function ReadDarknetFromCfgFile
How can I solve this?
The text was updated successfully, but these errors were encountered: