You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Window not found.
CUDA is enabled!
Loading ONNX model
thread 'main' panicked at src\testes\detect_image.rs:72:43:
called Result::unwrap() on an Err value: Error { code: "StsAssert, -215", message: "OpenCV(4.10.0) E:\vcpkg\buildtrees\opencv4\src\4.10.0-e5bca385b2.clean\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'\n" }
note: run with RUST_BACKTRACE=1 environment variable to display a backtrace
let mut net = get_mutable_model();
let input_blob = dnn::blob_from_image(
mat,
1.0 / 255.0,
Size::new(640, 640),
opencv::core::Scalar::default(),
false,
false,
opencv::core::CV_32F
)?;
net.set_input(&input_blob, "images", 1.0, Scalar::default())?;
let out_layers = net.get_unconnected_out_layers_names()?;
let mut output = Mat::default();
net.forward(&mut output, &out_layers).unwrap();
The text was updated successfully, but these errors were encountered:
1mZ1kk4d0
changed the title
opencv via vcpkg with cuda support giving switch to cpu.
OpenCV E:\vcpkg\buildtrees\opencv4\src\4.10.0-e5bca385b2.clean\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'\n" }
Dec 30, 2024
Window not found.
CUDA is enabled!
Loading ONNX model
thread 'main' panicked at src\testes\detect_image.rs:72:43:
called
Result::unwrap()
on anErr
value: Error { code: "StsAssert, -215", message: "OpenCV(4.10.0) E:\vcpkg\buildtrees\opencv4\src\4.10.0-e5bca385b2.clean\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'\n" }note: run with
RUST_BACKTRACE=1
environment variable to display a backtraceThe text was updated successfully, but these errors were encountered: