megvii-research / MOTR

[ECCV2022] MOTR: End-to-End Multiple-Object Tracking with TRansformer

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Confusion about use_checkpoint

ZXYFrank opened this issue Β· comments

Hi! Thanks for your work. πŸŽ‰

However, I find this part of code a little confusing

if self.use_checkpoint and frame_index < len(frames) - 2:

What's the purpose of specifying frame_index < len(frames) - 2:.