Yolo-Fastest-opencv-dnn
Yolo-Fastest-opencv-dnn copied to clipboard
读取模型出错
你好,请问你使用的opencv具体是哪个版本,我用最新的opencv4.4读取模型时仍然报错:cv2.error: OpenCV(4.4.0) /tmp/pip-req-build-qacpj5ci/opencv/modules/dnn/src/darknet/darknet_io.cpp:855: error: (-215:Assertion failed) classes > 0 && num_of_anchors > 0 && (num_of_anchors * 2) == anchors_vec.size() in function 'ReadDarknetFromCfgStream'
you should check the of filters in the convolution layer befor the yolo layer