torch-fidelity-0.4.0


توضیحات

High-fidelity performance metrics for generative models in PyTorch
ویژگی مقدار
سیستم عامل -
نام فایل torch-fidelity-0.4.0
نام torch-fidelity
نسخه کتابخانه 0.4.0
نگهدارنده []
ایمیل نگهدارنده []
نویسنده Anton Obukhov
ایمیل نویسنده -
آدرس صفحه اصلی https://www.github.com/toshas/torch-fidelity
آدرس اینترنتی https://pypi.org/project/torch-fidelity/
مجوز Apache License 2.0
torch-fidelity is the reference implementation of generative image model evaluation metrics in PyTorch, providing epsilon-exact computation of Inception Score (ISC), Fréchet Inception Distance (FID), Kernel Inception Distance (KID), and Precision and Recall (PRC). It supports multiple feature extractors including InceptionV3, CLIP, DINOv2, and VGG16. Originally created to bring numerically faithful metric implementations to the PyTorch ecosystem — matching TensorFlow reference code to machine precision — torch-fidelity is now widely adopted as a foundational dependency (e.g., by torchmetrics) and a standard tool for benchmarking GANs, diffusion models, flow-matching, and other generative approaches. Key features: - Epsilon-exact: values match reference implementations to floating-point precision - Efficient: feature sharing and multi-level caching minimize redundant computation - Extensible: register custom feature extractors to evaluate any modality — images, video, audio, 3D volumes, or anything else with a suitable learned representation Find more details and the most up-to-date information on the project webpage: https://www.github.com/toshas/torch-fidelity


نیازمندی

مقدار نام
- numpy
- pillow
- torch
- torchvision
- tqdm


زبان مورد نیاز

مقدار نام
>=3.6 Python


نحوه نصب


نصب پکیج whl torch-fidelity-0.4.0:

    pip install torch-fidelity-0.4.0.whl


نصب پکیج tar.gz torch-fidelity-0.4.0:

    pip install torch-fidelity-0.4.0.tar.gz