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

how does video of different lengths into tensor? and word "frame " in paper correspond to a clip of the video in the code? #16

Open
TAY-985 opened this issue Nov 9, 2021 · 2 comments

Comments

@TAY-985
Copy link

TAY-985 commented Nov 9, 2021

Hello, I have two questions:

  1. in a bach ,How do you load video features of different lengths into a tensor? padding them to a max length? if so, what is the max length?
  2. Does the frame in the paper correspond to a clip of the video in the code , that is, corresponds to a continuous video frame ?
@JaywongWang
Copy link
Owner

Hi,

  1. TGN samples a video segment (see opt.py, options['sample_len'] = 50) from a given video. If a video is shorter than 50s, pad zeros.
  2. The answer is yes. The 'frame' in the TGN paper usually means a clip feature (C3D/I3D, corresponds to continuous frames).

@TAY-985
Copy link
Author

TAY-985 commented Nov 9, 2021

ok, thank you very much

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