Skip to content

add: image quality metrics#1445

Open
yjy415 wants to merge 2 commits into
modelscope:mainfrom
yjy415:metric
Open

add: image quality metrics#1445
yjy415 wants to merge 2 commits into
modelscope:mainfrom
yjy415:metric

Conversation

@yjy415
Copy link
Copy Markdown
Collaborator

@yjy415 yjy415 commented May 18, 2026

Including:

  • FID
  • CLIP Score
  • PickScore
  • ImageReward
  • HPSv2
  • HPSv3
  • Aesthetic

Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request introduces a comprehensive suite of image quality evaluation metrics and reward models within the diffsynth.metrics module, including PickScore, ImageReward, HPSv2, HPSv3, CLIP, Aesthetic, and FID. These additions include the necessary model architectures, pre-trained weight loading logic, and utility functions for dataset handling, specifically for FID reference data. Documentation and example scripts were also provided for each metric. Review feedback correctly identified that the metrics overview table in the English documentation contained incorrect external links instead of relative paths to the example code, which should be corrected.

Comment thread docs/en/Model_Details/Image-Quality-Metrics.md Outdated
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant