megvii-research / MOTR

[ECCV2022] MOTR: End-to-End Multiple-Object Tracking with TRansformer
Other
635 stars 93 forks source link

Confusion about use_checkpoint #66

Open ZXYFrank opened 1 year ago

ZXYFrank commented 1 year ago

Hi! Thanks for your work. 🎉

However, I find this part of code a little confusing

https://github.com/megvii-research/MOTR/blob/8690da3392159635ca37c31975126acf40220724/models/motr.py#L614

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