A lightweight library of Frechet Audio Distance calculation.
Project description
Frechet Audio Distance in PyTorch
A lightweight library of Frechet Audio Distance calculation.
Installation
pip install frechet_audio_distance
Demo
from frechet_audio_distance import FrechetAudioDistance
frechet = FrechetAudioDistance(
use_pca=False,
use_activation=False,
verbose=False
)
fad_score = frechet.score("/path/to/background/set", "/path/to/eval/set")
References
VGGish in PyTorch: https://github.com/harritaylor/torchvggish
Frechet distance implementation: https://github.com/mseitzer/pytorch-fid
Frechet Audio Distance paper: https://arxiv.org/abs/1812.08466
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file frechet_audio_distance-0.0.4.tar.gz
.
File metadata
- Download URL: frechet_audio_distance-0.0.4.tar.gz
- Upload date:
- Size: 5.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | cb6d2e0dedd4c745ed3bafa61d602e2404fb935f4c7371541af9046f4a0bc000 |
|
MD5 | 84538ac80e7a10081547835ca7ae5312 |
|
BLAKE2b-256 | fd2a11763576b169883d8937c4e9a26c65587467c9c8676779cbde2a7590c6eb |
File details
Details for the file frechet_audio_distance-0.0.4-py3-none-any.whl
.
File metadata
- Download URL: frechet_audio_distance-0.0.4-py3-none-any.whl
- Upload date:
- Size: 6.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0b4afb981681e83039f37e9ec2faa83acd457d4884ffa305ec702adfac975981 |
|
MD5 | 53fde9104c06e3ecea09b6ff0b5953b6 |
|
BLAKE2b-256 | 31ca25e6f4c22ba75ab109c555f83cef42aad6935e6539563d580ec7dbf49a00 |