Skip to content

Request for fine-grained prompts for CLIP-IQA #370

Description

@mansur007

Is your feature request related to a problem? Please describe.
Currently, CLIP-IQA uses ["Good photo.", "Bad photo."] as anchors.
However, a more fine-grained assessment should be possible according to the paper.
If you refer to the table 3 of the paper, you will see pairs like:
["Clean photo.", "Noisy photo."], ["Sharp photo.", "Blurry photo."], etc.
Would it be possible for such prompts to be supported?

Describe the solution you'd like
In the clip_iqa.py file, pre-computed tokens are downloaded for "Good photo." and "Bad photo.".
Would it be possible to add pre-computed tokens for other prompts as well?
Or, can you suggest a quick way for us to generate those tokens by ourselves?

Thank you!

Metadata

Metadata

Assignees

Labels

featureNew feature or request

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions