yolov3.cfg & yolov3.weight
GromShine opened this issue · comments
Dear author, after I download [yolov3.cfg(https://github.com/qqwweee/keras-yolo3) & yolov3.weights(https://pjreddie.com/darknet/yolo/)], where should I put them in?
I tried the main folder, but still not work...I am totally beginner in this area, pls help
at first
↓
File "D:\Basketball-Action-Recognition\main.py", line 137, in extractFrame
net = cv2.dnn.readNet(args.weights, args.config)
error: OpenCV(4.6.0) D:\a\opencv-python\opencv-python\opencv\modules\dnn\src\darknet\darknet_importer.cpp:210: error: (-212:Parsing error) Failed to open NetParameter file: yolov3.cfg in function 'cv::dnn::dnn4_v20220524::readNetFromDarknet'
after download yolov3.cfg & yolov3.weights and put them in main folder
↓
File "D:\Basketball-Action-Recognition\main.py", line 137, in extractFrame
net = cv2.dnn.readNet(args.weights, args.config)
error: OpenCV(4.6.0) D:\a\opencv-python\opencv-python\opencv\modules\dnn\src\darknet\darknet_io.cpp:660: error: (-215:Assertion failed) separator_index < line.size() in function 'cv::dnn::darknet::ReadDarknetFromCfgStream'
above fixed
↓
but new bug
4.6.0
Failed to read video
An exception has occurred, use %tb to see the full traceback.