Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Why use additional one frame when training? #21

Open
applezy8866 opened this issue Mar 6, 2023 · 1 comment
Open

Why use additional one frame when training? #21

applezy8866 opened this issue Mar 6, 2023 · 1 comment

Comments

@applezy8866
Copy link

Dear,
I found that in dataset.py:
" if not self.test_mode:
self.num_frames_per_sample += 1"
and in tracker.py:
"num_frame = img.size(1) - 1"
so what‘s the usage of the additional frame?

@a1600012888
Copy link
Owner

It is not used for training more frames.
Since I am adding velocity supervisions, the velocity groud truth is from the box position at next frame. That's why I need to load one more frame.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants