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

DarkNet #4

Open
imarb51 opened this issue Jun 14, 2023 · 1 comment
Open

DarkNet #4

imarb51 opened this issue Jun 14, 2023 · 1 comment

Comments

@imarb51
Copy link

imarb51 commented Jun 14, 2023

net = cv2.dnn.readNetFromDarknet("yolov3.cfg", "yolov3(2).weights")
cv2.error: OpenCV(4.7.0) D:\a\opencv-python\opencv-python\opencv\modules\dnn\src\darknet\darknet_importer.cpp:217: error: (-212:Parsing error) Failed to parse NetParameter file: yolov3(2).weights in function 'cv::dnn::dnn4_v20221220::readNetFromDarknet'
Help somebody

@HimanchalChandra
Copy link
Owner

Hi, please check if yolov3.cfg and yolov3(2).weights exist in your current path or else you can follow the mentioned methodology to run the code.

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

2 participants