-
-
Notifications
You must be signed in to change notification settings - Fork 56.5k
Closed
Labels
bugcategory: dnncategory: dnn (onnx)ONNX suport issues in DNN moduleONNX suport issues in DNN moduleconfirmedThere is stable reproducer / investigation completeThere is stable reproducer / investigation complete
Milestone
Description
System Information
OpenCV 4.10.0
Windows 11 Pro
JDK 23.0.1
CUDA 12.4
CuDNN cudnn-windows-x86_64-9.0.0.312_cuda12
Detailed description
YOLO11 models do not operate with the CUDA and CUDA FP16 targets. Meanwhile, it operates well with the CPU target.
Steps to reproduce
For instance, the yolo11n.onnx model (https://dropmefiles.com/w332f) throws the following error:
Caused by: CvException [org.opencv.core.CvException: cv::Exception: OpenCV(4.10.0-dev) G:\opencv-4.x\modules\dnn\src\net_impl_fuse.cpp:608: error: (-215:Assertion failed) biasLayerData->outputBlobsWrappers.size() == 1 in function 'cv::dnn::dnn4_v20240521::Net::Impl::fuseLayers'
]
at org.opencv.dnn.Net.forward_4(Native Method)
at org.opencv.dnn.Net.forward(Net.java:352)
Issue submission checklist
- I report the issue, it's not a question
- I checked the problem with documentation, FAQ, open issues, forum.opencv.org, Stack Overflow, etc and have not found any solution
- I updated to the latest OpenCV version and the issue is still there
- There is reproducer code and related data files (videos, images, onnx, etc)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugcategory: dnncategory: dnn (onnx)ONNX suport issues in DNN moduleONNX suport issues in DNN moduleconfirmedThere is stable reproducer / investigation completeThere is stable reproducer / investigation complete