-
Notifications
You must be signed in to change notification settings - Fork 78
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
Could you provide codes for calculating FID, Time (s/im), and Memory (GB/im) #55
Comments
For FID, I used pytorch-fid (see the details in the paper for what sets I compared). For time taken, I simply timed how long a full 2000 image generation run took (though you could probably use 100-200 images instead) with the largest batch size I could fit, then divided the total time by the total number of images generated. Finally, for memory, the easiest way is just to keep increasing the batch size until you run out of memory, then divide the peak memory used by pytorch (queried using Was kind of a manual process, so no code. But should be simple enough to replicate. |
Thanks a lot for your reply. I am new to the field of Stable Diffusion and now I get it that FID is computed between two datasets. |
Thanks for your excellent work. Could you please provide codes for calculating FID, Time (s/im), and Memory (GB/im)?
The text was updated successfully, but these errors were encountered: