facebookresearch / SlowFast

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

whats the meaning of yaml file? #678

Open Leozyc-waseda opened 9 months ago

Leozyc-waseda commented 9 months ago

If i want to change the temporal stride, frame ratio which meationed in the paper, how should i do it?

TRAIN:
  ENABLE: True
  DATASET: Mydata
  BATCH_SIZE: 16
  EVAL_PERIOD: 10
  CHECKPOINT_PERIOD: 1
  AUTO_RESUME: True
DATA:
  NUM_FRAMES: 32
  SAMPLING_RATE: 8
  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 4 months ago

Temporal stride corresponds to SAMPLING_RATE.

You need to give more information about frame ratio, maybe a quotation from the paper but I assume you mean: ALPHA: frame rate reduction ratio between the Slow and Fast pathways