pixeli99 / SVD_Xtend

Stable Video Diffusion Training Code and Extensions.
574 stars 55 forks source link

Suggestions on loading video data #41

Open Semolce9 opened 6 months ago

Semolce9 commented 6 months ago

Thank authors for sharing training code of SVD and it works quite well. I just want to give some suggestions to accelerate data loading. First, if you have the original .mp4 or other formats video data, using library decord is much faster than loading video frames iteratively. Second, setting --num_workers to 0 largely improves loading speed for me(I am using 2 40G A100 for training).

Just some small tips and thank authors again.

pixeli99 commented 6 months ago

Thank you for the great suggestions! I really appreciate you sharing these tips. I will handle these changes in the near future, and if you are interested, you are also very welcome to submit a PR.

Thanks again for your valuable feedback!