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

Statistics calculation slow compared to another package #29

Open
hadaev8 opened this issue Apr 26, 2022 · 2 comments
Open

Statistics calculation slow compared to another package #29

hadaev8 opened this issue Apr 26, 2022 · 2 comments

Comments

@hadaev8
Copy link

hadaev8 commented Apr 26, 2022

From 3 mins on a100 it went to 40 mins.

Also, Pytorch added antialiasing to interpolation, should it be used for speding up calculations?

@GaParmar
Copy link
Owner

GaParmar commented Apr 27, 2022

Hi,

Thank you for pointing this out.
However, the difference in runtime should not be this large. Could you provide the code snippet you are using to compute the FID?
I have not rigorously evaluated the new the PyTorch antialiasing flag yet. I will update here, and the library, if it generates comparable results.

-Gaurav

@hadaev8
Copy link
Author

hadaev8 commented Apr 28, 2022

Here is colab example (with another dataset)

https://colab.research.google.com/drive/1T2nTSMi58LMkWaUPDqx3VRbCtUGsRKvH?usp=sharing

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