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

Compute FID from generator doesn't fully respect num_gen #32

Closed
justinpinkney opened this issue Jun 16, 2022 · 1 comment
Closed

Compute FID from generator doesn't fully respect num_gen #32

justinpinkney opened this issue Jun 16, 2022 · 1 comment

Comments

@justinpinkney
Copy link

Looks like the actual number of generations is rounded up to the nearest multiple of batch size:

num_iters = int(np.ceil(num_gen / batch_size))

@justinpinkney justinpinkney changed the title Compute FID from generator doesn't respect num_gen Compute FID from generator doesn't fully respect num_gen Jun 16, 2022
@GaParmar
Copy link
Owner

Thank you for pointing this out!
It should be correct in the recent version.

Cheers,
Gaurav

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

2 participants