Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The frame sequence is out of order when evaluating fvd #43

Open
RenShuhuai-Andy opened this issue Apr 22, 2024 · 0 comments
Open

The frame sequence is out of order when evaluating fvd #43

RenShuhuai-Andy opened this issue Apr 22, 2024 · 0 comments

Comments

@RenShuhuai-Andy
Copy link

Hi @universome, thanks for your great work!

I followed your instructions to evaluate fvd2048_16f based on calc_metrics_for_dataset.py, however, I found a potential bug.

Specifically, I prepared the ground truth (gt) and predicted datasets according to the following dataset structure:

dataset/
    video1/
        - frame1.jpg
        - frame2.jpg
        - ...
    video2/
        - frame1.jpg
        - frame2.jpg
        - ...
    ...

However, the code in https://github.com/universome/stylegan-v/blob/master/src/training/dataset.py#L319 will sort the frames in lexicographic order of file names (frame1, frame10, frame11, frame12...), instead of numerical order (frame1, frame2, frame3, frame4...):
image

I wonder if this out-of-order frame sequences lead to inaccurate evaluation results because I3D features are out of order?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant