-
Notifications
You must be signed in to change notification settings - Fork 4
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
[ENHANCEMENT] More Image Score Classifiers - A Guide #148
Comments
TL;DR: After extensive testing I can only recommend:
I managed to find a new one, that people may or may not like. I personally find it much better than Image Reward score wise, and no weird dependency hoops to jump through to get it installed. I've tested it with my few best case, middle ground, and worst case images. Noisy images were given low scores; bad images were given low scores; photorealistic bad images were still scored a bit higher but not as high as Image Reward scores them. I actually had to look up HuggingFace Hub's repo to find out how to get this one to work, as it kept corrupting the downloads or refusing to see the files. I wanted the "model.safetensors" that SFconvertbot issued a pull request for but hadn't been merged yet. Follow the same instructions as above, but name the folder "imclasif-quality-v001" and the script inside as "score_imclasif-quality-v001.py" You actually have two options with this scorer: If you want the normal option, change 'good' in the script to 'normal'.
|
EDIT June 6th, 2024: I found a new one I recommend more than others, same install instructions. Make folder, copy init, make script, copy code into it. Code is is second comment.
If you want more image score classifiers, do the following:
Make 3 new folders under "sd-webui-model-mixer\sd_modelmixer\classifiers" and name them:
artwork, shadow_v2, & shadow_v2_strict
Copy the "__init__.py" file from "classifiers" into each folder you just made.
Make an empty text file in each folder named similarly to said folder:
score_artwork.py, score_shadow_v2.py, & score_shadow_v2_strict.py
Here's the code that goes in "score_artwork.py"
Here's the code that goes in "score_shadow_v2.py"
And here's the code that goes in "score_shadow_v2_strict.py"
None of them can compare to Image Reward but if you're having issues installing Image Reward like I was, these might help.
The text was updated successfully, but these errors were encountered: