yash42828 / YOLO-object-detection-with-OpenCV

Object detection using YOLO object detector
104 stars 74 forks source link

Yolo-coco error #5

Open Petrkiller2 opened 3 months ago

Petrkiller2 commented 3 months ago

i have an error message saying:

net = cv2.dnn.readNetFromDarknet(configPath, weightsPath) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cv2.error: OpenCV(4.9.0) D:\a\opencv-python\opencv-python\opencv\modules\dnn\src\darknet\darknet_io.cpp:705: error: (-215:Assertion failed) separator_index < line.size() in function 'cv::dnn::darknet::ReadDarknetFromCfgStream'

dilip-choudhary1 commented 2 months ago

same error. Have you got the solution of this?