YOLOV3代码实现中cv2.dnn.readNet

自己在快速入门yolov3的代码实现

在使用

weights = "yolov3.weights" 
config_file = "yolov3.cfg" 
net = cv2.dnn.readNet(weights,config_file)

出现

error: OpenCV(4.6.0) C:\b\abs_74oeeuevib\croots\recipe\opencv-suite_1664548340488\work\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'

请教解决方案

路径给的不对吧,你写绝对路径看下