fvd-comparison
fvd-comparison copied to clipboard
How to use your code on my video?
Thanks for your great work! I try to use your code on my videos. I'm not sure if the way it is used is correct. I am using your code as follows:
- Read all frames using opencv from real and fake videos. And reshape them to (num_videos, video_len, 224, 224, 3)
- run
compare_metrics.py
(without any data pre-processing, such as transforms.Normalize() in pytorch )
Is this correct? @universome
Hi @WuyangLuo , to compute FVD, I would recommend using the src/scripts/calc_metrics_for_dataset.py
script from the main StyleGAN-V repo. It has the description on how to do this in the README file.