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

Error with SD XL

Open LieDeath opened this issue 1 year ago • 3 comments

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'

---

LieDeath avatar Jul 25 '23 14:07 LieDeath

I have the same problem. Have you solved it yet

tangcan1600 avatar Aug 14 '23 03:08 tangcan1600

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

image

MKC-Mankii avatar Oct 05 '23 14:10 MKC-Mankii

I wish this still worked with SDXL...

cvar66 avatar Nov 20 '23 01:11 cvar66