-
-
Notifications
You must be signed in to change notification settings - Fork 56.5k
DNN(Int8): improper UMat constructor is used #20888
Copy link
Copy link
Closed
Milestone
Description
Code
| UMat inputFp32(shape(inputs[0]), CV_32F); |
selects this constructor:
opencv/modules/core/include/opencv2/core/mat.hpp
Lines 2427 to 2429 in 4223495
| // FIXIT copyData=false is not implemented, drop this in favor of cv::Mat (OpenCV 5.0) | |
| //! builds matrix from std::vector with or without copying the data | |
| template<typename _Tp> explicit UMat(const std::vector<_Tp>& vec, bool copyData=false); |
which is not expected by coding context (tried to allocate ND shape).
/cc @vpisarev @SamFC10
Reactions are currently unavailable