inayatkh/tracking-python3

The following error occured while making allocate() for layer "conv11"

faizan170 opened this issue · 0 comments

After selecting bounding boxes on multiple object tracking. Getting this error.

OpenCV Error: Assertion failed (input.dims() == 4 && (input.type() == CV_32F || input.type() == CV_64F)) in cv::dnn::ConvolutionLayerImpl::allocate, file C:\projects\opencv-python\opencv_contrib\modules\dnn\src\layers\convolution_layer.cpp, line 90
OpenCV Error: Assertion failed (The following error occured while making allocate() for layer "conv11": input.dims() == 4 && (input.type() == CV_32F || input.type() == CV_64F)) in cv::dnn::ConvolutionLayerImpl::allocate, file C:\projects\opencv-python\opencv_contrib\modules\dnn\src\layers\convolution_layer.cpp, line 90
Traceback (most recent call last):
  File "trackMultipleObjects.py", line 120, in <module>
    success, boxes = multipleTrackerOpenCV.update(frame)
cv2.error: C:\projects\opencv-python\opencv_contrib\modules\dnn\src\layers\convolution_layer.cpp:90: error: (-215) The following error occured while making allocate() for layer "conv11": input.dims() == 4 && (input.type() == CV_32F || input.type() == CV_64F) in function cv::dnn::ConvolutionLayerImpl::allocate