Skip to content

Frechet Inception Distance with Dinov2 features #3110

@gisilvs

Description

@gisilvs

🚀 Feature

Implement FID computation with DinoV2 as proposed in "Exposing flaws of generative model evaluation metrics
and their unfair treatment of diffusion models"

Motivation

Computing FID with features extraded from DinoV2 has become common practice for generative models evaluation.

Pitch

Either add a new class FrechetInceptionDistanceDinoV2 based on torch-fidelity's FeatureExtractorDinoV2.

Alternatives

Add an option in the existing FrechetInceptionDistance class to choose between inveption v3 and dino v2 feature extractor, also using the FeatureExtractorDinoV2 from torch-fidelity.

Additional context

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions