Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

GOTURN tracker error

Hi there,

I'm trying to test the new GOTURN tracker, but I can't manage to make it work as some dnn error arises. Steps followed:

  1. Latest versions compiled (both OpenCV and OpenCV contrib)
  2. Downloaded pre-trained data from here as stated in this question (is this data OK? I've seem some issues/PRs related to them, not too sure if we use them or not)
  3. Also related to this question, I had to manually change paths and re-compile to read the .prototxt and .caffemodel, otherwise I couldn't make it work on Windows and VisualStudio with relative paths
  4. I tried both the official sample and some other minimal sample (which reads from video, not from dataset), and both make this error appear when updating the tracker:

    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::BaseConvolutionLayerImpl::allocate, file \opencv_contrib-master\modules\dnn\src\layers\convolution_layer.cpp, line 87

Has anyone experienced this error, or can check it? Any tips to solve it? I guess this is something related to the dnn implementation, but I'm asking just in case. If someone else get the error, I will open an issue.

Thanks

GOTURN tracker error

Hi there,

I'm trying to test the new GOTURN tracker, but I can't manage to make it work as some dnn error arises. Steps followed:

  1. Latest versions compiled (both OpenCV and OpenCV contrib)
  2. Downloaded pre-trained data from here as stated in this question (is this data OK? I've seem some issues/PRs related to them, not too sure if we should use them or not)
  3. Also related to this question, I had to manually change paths and re-compile to read the .prototxt and .caffemodel, otherwise I couldn't make it work on Windows and VisualStudio with relative paths
  4. I tried both the official sample and some other minimal sample (which reads from video, not from dataset), and both make this error appear when updating the tracker:

    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::BaseConvolutionLayerImpl::allocate, file \opencv_contrib-master\modules\dnn\src\layers\convolution_layer.cpp, line 87

Has anyone experienced this error, or can check it? Any tips to solve it? I guess this is something related to the dnn implementation, but I'm asking just in case. If someone else get the error, I will open an issue.

Thanks