YuvalNirkin / fsgan

FSGAN - Official PyTorch Implementation
https://nirkin.com/fsgan
Creative Commons Zero v1.0 Universal
754 stars 147 forks source link

Question about the correspondence of pair frames from source and target videos #107

Closed happyday521 closed 3 years ago

happyday521 commented 3 years ago

Hi, thanks for your great work! I have a question about the correspondence of pair frames from source and target videos respectively when performing video2video face swaping.

For example, suppose the source video is 10 second length, and the target video is 15 second length. Thus, the number of frames for source and target is different. In this way, to generate the swapped video, how to choose the corresponding pair frames from source and target videos respectively? Specifically, if I want to generate i-th frame of swapped video, which frame should I choose from source and target video, respectively?

Thanks!

YuvalNirkin commented 3 years ago

The number of frames in the source and target videos do not have to match. Please see the paper for details about how corresponding frames are selected.