Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Aesthetic score #5

Open
jsonBackup opened this issue Aug 6, 2024 · 1 comment
Open

Aesthetic score #5

jsonBackup opened this issue Aug 6, 2024 · 1 comment

Comments

@jsonBackup
Copy link

I'm curious about how the aesthetic scores of the generated images from the paper were calculated. Is it possible to share the code?

Thanks!

@sgk98
Copy link
Collaborator

sgk98 commented Aug 18, 2024

Hey, sorry for the delayed response. We were using the LAION Aesthetic Predictor (https://github.com/christophschuhmann/improved-aesthetic-predictor). You can find the class definition here (https://github.com/ExplainableML/ReNO/blob/main/rewards/aesthetic.py). The only difference is we return 10.0 - aesthetic_score if you want a loss to optimize. Do let us know if you need any other details, or a script to compute the aesthetic scores of all the images in a directory.

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

No branches or pull requests

2 participants