Open WXWXwqz opened 2 years ago
是不是不应该用self.removed_stracks,而应该用removed_stracks哟
see how ultralytics handle this problem: https://github.com/ultralytics/ultralytics/blob/main/ultralytics/trackers/byte_tracker.py#L291 Perhaps the author keep all the removed_stracks for other purposes, after all, it is for academic study.
self.removed_stracks 没有清除操作会导致内存一直增加最终溢出。