/fid-metrics

A toolkit for computing Fréchet Inception Distance (FID) & Fréchet Video Distance (FVD) metrics.

Primary LanguagePythonMIT LicenseMIT

FID/FVD Metrics

This repository provides a toolkit for computing Fréchet Inception Distance (FID) and Fréchet Video Distance (FVD) metrics, widely utilized for assessing the quality of generative models in the fields of image and video generation.

Installation

```bash
pip install -r requirements.txt
```

Usage

In the absence of setting up the package, users can currently utilize it by the following as a temporal fix.

  1. Setup

    export PYTHONPATH=`pwd`:$PYTHONPATH
  2. Calculating FID/FVD

    python fid_metrics/main.py paths=[path1,path2]

Acknowledgements

The code in this repository is based on pytorch-fid and fvd-comparison.

License

Released under the MIT License.