Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Object tracking: GOTURN - failed to allocate 90 GB cv::OutOfMemoryError

I am trying to implement the GOTURN object tracking algorithm as described in this link. The error occurs as the tracker gets initiallized with the first image is passed over:

bbox = cv2.selectROI(frame, False)
ok, frame = video.read()
ok = tracker.init(frame, bbox)

cv2.error: OpenCV(4.1.2-dev) \opencv\modules\core\src\alloc.cpp:73: error: (-4:Insufficient memory)
Failed to allocate 95588562276 bytes in function 'cv::OutOfMemoryError'

Well, apparently, the algorithm tries to allocate almost 90 GB of memory, which is somehow crazy. I use the caffe model and the prototxt files from here.

Does anyone have any idea?

click to hide/show revision 2
retagged

Object tracking: GOTURN - failed to allocate 90 GB cv::OutOfMemoryError

I am trying to implement the GOTURN object tracking algorithm as described in this link. The error occurs as the tracker gets initiallized with the first image is passed over:

bbox = cv2.selectROI(frame, False)
ok, frame = video.read()
ok = tracker.init(frame, bbox)

cv2.error: OpenCV(4.1.2-dev) \opencv\modules\core\src\alloc.cpp:73: error: (-4:Insufficient memory)
Failed to allocate 95588562276 bytes in function 'cv::OutOfMemoryError'

Well, apparently, the algorithm tries to allocate almost 90 GB of memory, which is somehow crazy. I use the caffe model and the prototxt files from here.

Does anyone have any idea?

click to hide/show revision 3
retagged

Object tracking: GOTURN - failed to allocate 90 GB cv::OutOfMemoryError

I am trying to implement the GOTURN object tracking algorithm as described in this link. The error occurs as the tracker gets initiallized with the first image is passed over:

bbox = cv2.selectROI(frame, False)
ok, frame = video.read()
ok = tracker.init(frame, bbox)

cv2.error: OpenCV(4.1.2-dev) \opencv\modules\core\src\alloc.cpp:73: error: (-4:Insufficient memory)
Failed to allocate 95588562276 bytes in function 'cv::OutOfMemoryError'

Well, apparently, the algorithm tries to allocate almost 90 GB of memory, which is somehow crazy. I use the caffe model and the prototxt files from here.

Does anyone have any idea?