facebookresearch / SlowFast

PySlowFast: video understanding codebase from FAIR for reproducing state-of-the-art video models.
Apache License 2.0
6.53k stars 1.21k forks source link

whats the meaning of num frames, sampling rate and slowfast alpha? #679

Open Leozyc-waseda opened 1 year ago

Leozyc-waseda commented 1 year ago

In yaml file, i found a lot of paramaters, but i cant understand the meaning of it very well.

For example, i want to change the input frame rate, which paramaters i should to change, NUM_FRAMES? whats meaning of NUM_FRAMES?? If have 75frame, then average choose 32 frame?

DATA: NUM_FRAMES: 32 SAMPLING_RATE: 3 TRAIN_JITTER_SCALES: [256, 320] TRAIN_CROP_SIZE: 224 TEST_CROP_SIZE: 256 INPUT_CHANNEL_NUM: [3, 3] SLOWFAST: ALPHA: 4 BETA_INV: 8 FUSION_CONV_CHANNEL_RATIO: 2 FUSION_KERNEL_SZ: 7

alpargun commented 7 months ago

For the rest, which are SlowFast algorithm hyperparameters, please refer to defaults.py and the SlowFast paper for the theory. But in short: SLOWFAST hyperparameters: