wcde / sd-webui-refiner

Webui Extension for integration refiner in generation process
163 stars 12 forks source link

AttributeError: 'NoneType' object has no attribute 'to' #26

Closed rltgjqmcpgjadyd closed 1 year ago

rltgjqmcpgjadyd commented 1 year ago

after 9d8bfc4ea459d33f59fc1c294ff3499206b67963

get an error message every time create an image

Happens even if refiners are disabled

** Error running postprocess: J:\SDWebUI\extensions\sd-webui-refiner\scripts\refiner.py 72/72 [00:23<00:00, 2.76it/s] Traceback (most recent call last): File "J:\SDWebUI\modules\scripts.py", line 551, in postprocess script.postprocess(p, processed, script_args) File "J:\SDWebUI\extensions\sd-webui-refiner\scripts\refiner.py", line 139, in postprocess self.reset(p) File "J:\SDWebUI\extensions\sd-webui-refiner\scripts\refiner.py", line 130, in reset self.model.to('cpu', devices.dtype_unet) ^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'to'

wcde commented 1 year ago

@rltgjqmcpgjadyd Fixed. Now it should work.