kkahatapitiya / X3D-Multigrid

PyTorch implementation of X3D models with Multigrid training.
MIT License
92 stars 13 forks source link

Changing input clip length #7

Closed TheKursta closed 3 years ago

TheKursta commented 3 years ago

Good day!

I have troubles on finding where to specify input clip length parameter when defining X3D model. Currently I'm aiming to change input frames (temporal duration parameter) to 20 for X3D-M training and so that input clip (gamma_tau) is sampled at 10FPS. Please provide some insight on how that can be achieved.

kkahatapitiya commented 3 years ago

You can change frames=80 line. If you want to consider 20 frames as the input with gamma_tau=10, you need to set frames=200. Btw, gamma_tau=10 does not mean 10fps, it means the original frame-rate (25 or 30fps, check Kinetics paper) is subsampled by 10x