AUTOMATIC1111 / stable-diffusion-webui-aesthetic-gradients

Aesthetic gradients extension for web ui
431 stars 66 forks source link

Error with SD XL #30

Open LieDeath opened 11 months ago

LieDeath commented 11 months ago

i can't load it with sd xl apply. seems missing model key is the error origin, due to model structure changed

*** Error executing callback model_loaded_callback for D:\AI6\stable-diffusion-webui\extensions\stable-diffusion-webui-aesthetic-gradients\scripts\aesthetic.py
    Traceback (most recent call last):
      File "D:\AI6\stable-diffusion-webui\modules\script_callbacks.py", line 143, in model_loaded_callback
        c.callback(sd_model)
      File "D:\AI6\stable-diffusion-webui\extensions\stable-diffusion-webui-aesthetic-gradients\scripts\aesthetic.py", line 40, in on_model_loaded
        aesthetic.process_tokens = sd_model.cond_stage_model.process_tokens
      File "D:\AI6\stable-diffusion-webui\venv\lib\site-packages\torch\nn\modules\module.py", line 1614, in __getattr__
        raise AttributeError("'{}' object has no attribute '{}'".format(
    AttributeError: 'GeneralConditioner' object has no attribute 'process_tokens'

---
tangcan1600 commented 10 months ago

I have the same problem. Have you solved it yet

MKC-Mankii commented 9 months ago

same with you, I can't load sdxl1.0 model

image

cvar66 commented 7 months ago

I wish this still worked with SDXL...