ReNO icon indicating copy to clipboard operation
ReNO copied to clipboard

Aesthetic score

Open jsonBackup opened this issue 1 year ago • 1 comments

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!

jsonBackup avatar Aug 06 '24 18:08 jsonBackup

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.

sgk98 avatar Aug 18 '24 03:08 sgk98

Thank you

jsonBackup avatar Mar 11 '25 17:03 jsonBackup