AlexeyAB / darknet

YOLOv4 / Scaled-YOLOv4 / YOLO - Neural Networks for Object Detection (Windows and Linux version of Darknet )
http://pjreddie.com/darknet/
Other
21.58k stars 7.95k forks source link

Is YOLOv4-csp is supported by OpenCV 4.5.2 ? #7843

Closed kgksl closed 3 years ago

kgksl commented 3 years ago

Is yolov4-csp is supported by OpenCV? I tried to performed inference with provided weight files for yolov4-csp with Opencv version (4.5.2). The results I got is not garbage, but seemed like the confidence scores were very high (incorrect) and thus resulted in a large number of predictions above confidence threshold = 0.001.

I was following this thread https://github.com/opencv/opencv/issues/18975#issuecomment-745012567 I am new to Darknet andOpenCV, and wasn't completely sure if only yolov4-mish is not supported or all scaled yolov4 models are not supported. If this issue gets solved the changes will be released with 3.4.15 and will propagate to 4.5.3? I am new to OpenCV and I was under the impression OpenCV 3.x doesn't support CUDA so not clear to me if this change will solve/provide support for 4.x if its missing support for scaled models. I apologize in advance for my lack of knowledge, and hope someone can explain or provide me some reference. Thanks alot

akashAD98 commented 2 years ago

@kgksl have you solved the problem?

kgksl commented 2 years ago

@akashAD98 as I undertand YOLOv4-csp is not yet supported by OpenCV based on the following discussion: https://github.com/opencv/opencv/issues/18975#issuecomment-773886413