Skip to content

Can the number of frames during training differ from testing? #635

Answered by kennymckormick
liming-ai asked this question in Q&A
Discussion options

You must be logged in to vote

It depends on the model you used is 2D or 3D.
When I talk about 3D, the definition is: any model with a 3D(Temporal dim) operation (including convolution, shifting, etc., does not include avg or max) is a 3D model. For 3D models, the #frames should be consistent during training and testing.
For 2D models (only TSN is 2D by the above definition in this repo), #frames can vary during training and testing.

So to be brief, #frames can vary for TSN, and should be consistent for other models.

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by innerlee
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants
Converted from issue

This discussion was converted from issue #437 on February 23, 2021 12:09.