High-fidelity performance metrics for generative models in PyTorch
Project description
Evaluation of generative models such as GANs is an important part of the deep learning research.
In the domain of 2D image generation, three approaches became widely spread: Inception Score
(aka IS), Fréchet Inception Distance (aka FID), and Kernel Inception Distance (aka KID).
These metrics, despite having a clear mathematical and algorithmic description, were initially
implemented in TensorFlow, and inherited a few properties of the framework itself and the code
they relied upon. These design decisions were effectively baked into the evaluation protocol and
became an inherent part of the metrics specification. As a result, researchers wishing to
compare against state of the art in generative modeling are forced to perform evaluation using
codebases of the original metric authors. Reimplementations of metrics in PyTorch and other
frameworks exist, but they do not provide a proper level of fidelity, thus making them
unsuitable for reporting results and comparing to other methods.
This software aims to provide epsilon-exact implementations of the said metrics in PyTorch, and thus
remove inconveniences associated with generative models evaluation and development.
Find more details and the most up-to-date information on the project webpage:
https://www.github.com/toshas/torch-fidelity
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
torch_fidelity-0.3.0.tar.gz
(31.8 kB
view details)
Built Distribution
File details
Details for the file torch_fidelity-0.3.0.tar.gz
.
File metadata
- Download URL: torch_fidelity-0.3.0.tar.gz
- Upload date:
- Size: 31.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3d3e33db98919759cc4f3f24cb27e1e74bdc7c905d90a780630e4e1c18492b66 |
|
MD5 | 8a76b251039103c8c9fc762f8b281771 |
|
BLAKE2b-256 | dd72687a54bab9a11e351cff3859ece48fb58e13786a493eb13a5da32b42de32 |
File details
Details for the file torch_fidelity-0.3.0-py3-none-any.whl
.
File metadata
- Download URL: torch_fidelity-0.3.0-py3-none-any.whl
- Upload date:
- Size: 37.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d01284825595feb7dc3eae3dc9a0d8ced02be764813a3483f109bc142b52a1d3 |
|
MD5 | d4685cbf765d9eaa393251bcd4b7bfed |
|
BLAKE2b-256 | 9f2ce24c7e261eaa00fc911c39a5e30f77efbace480aae2548db9ceaef410945 |