theAIGuysCode / yolov4-deepsort

Object tracking implemented with YOLOv4, DeepSort, and TensorFlow.
GNU General Public License v3.0
1.31k stars 745 forks source link

WARNING: Failed to extract image patch #167

Open setzin opened 4 months ago

setzin commented 4 months ago

Hello everyone, i'm trying to use DeepSort to track cells in frames of videos. Code is working, but when i try to use DeepSort some cells are not tracked due to this error: WARNING: Failed to extract image patch: [0, 415, 4, 1] WARNING: Failed to extract image patch: [0, 415, 3, 1] WARNING: Failed to extract image patch: [0, 415, 5, 1] WARNING: Failed to extract image patch: [0, 415, 6, 1] WARNING: Failed to extract image patch: [1160, 415, 3, 1] WARNING: Failed to extract image patch: [1160, 415, 5, 1] WARNING: Failed to extract image patch: [1160, 415, 4, 1] WARNING: Failed to extract image patch: [696, 624, 6, 1] So, DeepSort is working but sometimes some cells are not tracked. I'm passing information about bboxes in the correct way (objects are cells, that's why width and height are so small): [xmin, ymin, width, height]