gan
gan copied to clipboard
Wrong calculation of Inception score and FID for SAGAN without resizing
Hey and congratulations for this amazing library, I have been using it for our latest paper [paper], [code].
After the BREAKING CHANGE commit, the FID / Inception score is calculated wrongly for the SAGAN example. For ImageNet, it gives real inception score ~2.5.
After changing the sample_fn
function defined here to perform the image resize, the correct FID and Inception scores are calculated.
I guess that is unexpected, since there is this comment, just in the above line:
# Image resizing happens inside the Inception SavedModel.
I managed to solve the problem by reshaping in the sample_fn
function (as it was before the change), but I thought that it is worth bringing that to your attention :)
Let me know if you need any help!
@aaronsarna We fixed this, right?