antoine77340 / MIL-NCE_HowTo100M

PyTorch GPU distributed training code for MIL-NCE HowTo100M
Apache License 2.0
214 stars 31 forks source link

YouCook and MSR-VTT Dataloaders #16

Closed thebuax closed 3 years ago

thebuax commented 3 years ago

Hello,

(Edited)

Thank you for releasing the code. It's massively helpful. I had few queries regarding the dataloaders:

  1. Where is num_frames used? In args.py, it is flagged as a random seed.
  2. What is the difference between num_frames and num_clips? Why is num_clips set to 10 for eval_msrvtt?
  3. Consider the following code block np.linspace(start, max(start, end-self.num_sec - 0.4), num_clip) What is the role of num_sec then in this context?

Thanks in advance.