[vip-help] Inception Score parameters doubt

Han, Yue han380 at purdue.edu
Mon Jan 29 12:55:14 EST 2024


Hi Kris,

Yes, since FID is a metric used to evaluate the quantity and diversity of your generated image compared to your real training image on the feature space. So the pre-trained inception_v3 here is purely used as feature extractor. And since ImageNet is a diverse dataset contains various of images, so it is very common to use inception_v3 with pre-trained on ImageNet as feature extractor unless the paper specifically indicate it use other pre-train to calculate FID.

There is a paper compares about using pre-trained vs. random weights for calculating FID you might found interesting:
https://ieeexplore.ieee.org/document/9745214<https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fieeexplore.ieee.org%2Fdocument%2F9745214&data=05%7C02%7Cvip-help%40ecn.purdue.edu%7Cd472db5959944765fdbe08dc20f3721a%7C4130bd397c53419cb1e58758d6d63f21%7C0%7C0%7C638421477159643274%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=Vq6k1UHxl%2FlIb0doGLWSqEGYb6H%2FnZebLbIHkb8FJw8%3D&reserved=0>

The answer to second question is yes as well, so if you want to implement standard FID calculation (Which is default in PyTorch, Tensorflow etc and can be compared to others’ work), then use pre-trained on ImageNet and normalize use ImageNet statistics.

If you want a FID score specific to your own work or trying to explore to see if there is any difference between standard FID calculation, you can use your own statistics to do the FID calculation


Best,
*****
Yue Han
Ph.D. Candidate
Research Assistant
Video and Image Processing Laboratory (VIPER)
School of Electrical and Computer Engineering
Purdue University
465 Northwestern Avenue
West Lafayette, IN 47907-2035
U.S.A.
Telephone: +1 765 637 3729
email: han380 at purdue.edu
URL: https://lorenz.ecn.purdue.edu/~han380/
*****

On Jan 29, 2024, at 11:41, Gurung, Kris <kgurung at purdue.edu> wrote:

Some people who received this message don't often get email from kgurung at purdue.edu<mailto:kgurung at purdue.edu>. Learn why this is important<https://aka.ms/LearnAboutSenderIdentification>
Hi,

I am trying to incorporate FID and Inception Score for quantitative evaluation of the pictures generated, and was wondering if the Inception_v3 model could be used for CelebA dataset as well, since it was initially trained on the ImageNet dataset. If it can be used, what mean and standard deviations would be used for normalization of the images? I could only find the following normalization parameters for ImageNet.
<image.png>
Any advice regarding better evaluation metrics, if any, would also be greatly appreciated!

Regards,
Kris
--
vip-help mailing list
vip-help at ecn.purdue.edu<mailto:vip-help at ecn.purdue.edu>
https://engineering.purdue.edu/ECN/mailman/listinfo/vip-help

-------------- next part --------------
An HTML attachment was scrubbed...
URL: </ECN/mailman/archives/vip-help/attachments/20240129/9e984e5e/attachment.htm>


More information about the vip-help mailing list