stable-diffusion-webui-aesthetic-image-scorer icon indicating copy to clipboard operation
stable-diffusion-webui-aesthetic-image-scorer copied to clipboard

Getting: ERROR:root:Aesthetic Image Scorer: Unable to write tag or category

Open jockisen opened this issue 1 year ago • 4 comments

Traceback (most recent call last):
  File "E:\AI\stable-diffusion-webui\extensions\stable-diffusion-webui-aesthetic-image-scorer\tools\add_tags.py", line 68, in tag_files
    ps = set_property(file=file, property="System.Category", values=categories,
  File "E:\AI\stable-diffusion-webui\extensions\stable-diffusion-webui-aesthetic-image-scorer\tools\add_tags.py", line 51, in set_property
    ps.SetValue(pk, newValue)
pywintypes.com_error: (-2003292351, 'Bitmapp-codecen stöder inte bitmappsegenskapen.', None, None)```

jockisen avatar Mar 21 '23 11:03 jockisen

Can you please help with this? The extension isn't working. @tsngo

jockisen avatar Mar 23 '23 08:03 jockisen

doesn't work with jpeg's either:

Traceback (most recent call last):
  File "E:\AI\test\stable-diffusion-webui-master\modules\script_callbacks.py", line 151, in before_image_saved_callback
    c.callback(params)
  File "E:\AI\test\stable-diffusion-webui-master\extensions\stable-diffusion-webui-aesthetic-image-scorer\scripts\image_scorer.py", line 243, in on_before_image_saved
    if len(params.pnginfo["parameters"]) > 0:
KeyError: 'parameters'

ERROR:root:Aesthetic Image Scorer: Unable to write tag or category for C:\Users\joach\Downloads\gjört\sdf\Mona-Lisa-0000.png
Traceback (most recent call last):
  File "E:\AI\test\stable-diffusion-webui-master\extensions\stable-diffusion-webui-aesthetic-image-scorer\tools\add_tags.py", line 66, in tag_files
    ps = set_property(file=file, property="System.Keywords", values=tags,
  File "E:\AI\test\stable-diffusion-webui-master\extensions\stable-diffusion-webui-aesthetic-image-scorer\tools\add_tags.py", line 51, in set_property
    ps.SetValue(pk, newValue)
pywintypes.com_error: (-2003292351, 'Bitmapp-codecen stöder inte bitmappsegenskapen.', None, None)```

jockisen avatar Mar 23 '23 10:03 jockisen

hello?

jockisen avatar Mar 28 '23 10:03 jockisen

I got the same error tried fixing it but never got it working. if it would work it could be revolutionary, make all images above 6 post online, delete all images below 5.. too bad!

madwurmz avatar Mar 31 '23 13:03 madwurmz