VisCy
VisCy copied to clipboard
FID code from Dihan
The PR add Dihan's FID and VAE torchscript.
The implementation on how to save these depend on how one wants to store and compute the metric. The code operates at a ngff.Position level, but one requires computing these for a couple of positions to be reliable.
Replace the FID with torchmetrics https://lightning.ai/docs/torchmetrics/stable/image/frechet_inception_distance.html