FlashVideo icon indicating copy to clipboard operation
FlashVideo copied to clipboard

Question about stage 2: noise strength embedding and training sample_step

Open zhan-xu opened this issue 1 year ago • 2 comments

Hi dear author, thanks for the work. I am interested in implementing something similar to stage 2. Based on your paper and code, I have the following two questions.

  1. You mentioned in the paper that "we introduce a noise strength embedding, which is added to the time embedding". However in the code, seems "ref_noise_step" is only used here. Is it fed into the DiT model?
  2. In inference, stage 1 takes 51 steps while stage 2 takes 4 steps. I am wondering during training, do they use the same number of sampling steps, like 1000? Have you tried for stage 2, using smaller sampling steps?

Thanks for your time and answer.

zhan-xu avatar Mar 26 '25 23:03 zhan-xu

Thank you for your interest in our work.

  1. The noise strength embedding for the first question can be found at : Noise Strength Embedding.

  2. For stage 2, we use continuous float timesteps ranging from 0 to 1, and mapping them to 0-1000 with https://github.com/FoundationVision/FlashVideo/blob/8de4ae2b2c468e78116ad821e8bcd2339282e2b8/flashvideo/flow_video.py#L184

  3. For the different sampling step results of stage2, both visualization and quantitative results are available in Section 5.5.

If you have any further questions, please do not hesitate to reach out.

jshilong avatar Mar 27 '25 04:03 jshilong

Thank you for your answers!

zhan-xu avatar Mar 27 '25 04:03 zhan-xu