RichardObi / medigan

medigan - A Python Library of Pretrained Generative Models for Medical Image Synthesis
https://medigan.readthedocs.io/en/latest/
MIT License
115 stars 13 forks source link

Feature/fid script #39

Closed faildeny closed 1 year ago

faildeny commented 1 year ago

This is a script that allows to compute FID using original Inception V1 Imagenet backbone and also RadImageNet Inception V3 backbone. The original results are very close to the ones obtained using pytorch-fid implementation github.

example usage:

python tests/fid.py real_data_path fake_data_path --model radimagenet

It can be both imported as function or run as a standalone script.