Skip to content

docs: clarify FID default feature dimension#3791

Open
nightcityblade wants to merge 1 commit into
pytorch:masterfrom
nightcityblade:fix/issue-3221
Open

docs: clarify FID default feature dimension#3791
nightcityblade wants to merge 1 commit into
pytorch:masterfrom
nightcityblade:fix/issue-3221

Conversation

@nightcityblade

Copy link
Copy Markdown
Contributor

Fixes #3221

Description:

Clarifies that the default FID configuration uses the Inception model's 1000-dimensional output logits, and points users to the 2048-dimensional pool3 feature extractor example when matching pytorch_fid results.

Check list:

  • New tests are added (if a new feature is added)
  • New doc strings: description and/or example code are in RST format
  • Documentation is updated (if required)

@github-actions github-actions Bot added the module: metrics Metrics module label Jun 22, 2026
Comment thread ignite/metrics/gan/fid.py
Default value is 1000.
The default Inception model uses its 1000-dimensional output logits as features. To match
`pytorch_fid` results, provide a feature extractor that returns the 2048-dimensional pool3
features instead; see the example below.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
features instead; see the example below.
features instead. See the example below.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

module: metrics Metrics module

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Calculation of FID metric made use of classification probabilities instead of feature vectors

2 participants