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

What do Pair, L, T stand for in the code? #106

Open
nhw649 opened this issue Jun 21, 2023 · 3 comments
Open

What do Pair, L, T stand for in the code? #106

nhw649 opened this issue Jun 21, 2023 · 3 comments

Comments

@nhw649
Copy link

nhw649 commented Jun 21, 2023

Hi, I'm a beginner and would like to ask a question. What do Pair, L, T stand for in the code? What do they mean?

# Pair x L x T x 3 x H x W
video = np.zeros((len(s), self.max_frames, 1,
                  3, self.rawVideoExtractor.size, self.rawVideoExtractor.size), dtype=np.float)
@isabella-karabasz
Copy link

As far as I understand:

  • Pair: number of samples (videos)
  • L: length of video in frames
  • T: time axis? It's always 1 rendering it practically unnecessary...
  • 3: RGB channels
  • H: height
  • W: width

Happy to hear thoughts of other members who have been using this repo!

@zsnoob
Copy link

zsnoob commented Nov 22, 2023

As far as I understand:

  • Pair: number of samples (videos)
  • L: length of video in frames
  • T: time axis? It's always 1 rendering it practically unnecessary...
  • 3: RGB channels
  • H: height
  • W: width

Happy to hear thoughts of other members who have been using this repo!

T is a scalar representing a set of frames extracted from the same one-second-interval. With an fps of 30, each group of 30 frames will share the same T value. I guess that this will play a role in the frame extraction strategy.

@nhw649
Copy link
Author

nhw649 commented Nov 22, 2023

As far as I understand:

  • Pair: number of samples (videos)
  • L: length of video in frames
  • T: time axis? It's always 1 rendering it practically unnecessary...
  • 3: RGB channels
  • H: height
  • W: width

Happy to hear thoughts of other members who have been using this repo!

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

3 participants