chflame163 / ComfyUI_CatVTON_Wrapper

CatVTON warpper for ComfyUI
221 stars 30 forks source link

'VaeImageProcessor' object has no attribute 'blur' #10

Open mantotan opened 2 months ago

mantotan commented 2 months ago

I am running latest version of comfyui on linux using NVIDIA RTX 4000 SFF Ada Generation

please help

Error occurred when executing CatVTONWrapper:

'VaeImageProcessor' object has no attribute 'blur'

File "/root/ComfyUI/execution.py", line 152, in recursive_execute output_data, output_ui = get_output_data(obj, input_data_all) File "/root/ComfyUI/execution.py", line 82, in get_output_data return_values = map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True) File "/root/ComfyUI/execution.py", line 75, in map_node_over_list results.append(getattr(obj, func)(**slice_dict(input_data_all, i))) File "/root/ComfyUI/custom_nodes/ComfyUI_CatVTON_Wrapper/py/cat_vton.py", line 69, in catvton mask = mask_processor.blur(mask, blur_factor=9) File "/usr/local/lib/python3.10/dist-packages/diffusers/configuration_utils.py", line 138, in getattr raise AttributeError(f"'{type(self).name}' object has no attribute '{name}'")

chflame163 commented 2 months ago

Check if the diffusers dependency package version is too low?

jszewczyk commented 1 month ago

Everything is up-to-date and I have the same error. image image

Razbotics commented 1 month ago

Worked after upgrading diffusers package to v0.30.3 manually using pip and then restarting server

jszewczyk commented 1 month ago

After this, I have the same message :( image

Razbotics commented 1 month ago

After this, I have the same message :( image

Did you try restarting the Comfy UI server?

jszewczyk commented 1 month ago

Of course and I tried to restart my computer too.

Razbotics commented 1 month ago

Of course and I tried to restart my computer too.

Is it possible that you are running Comfy UI server inside a conda or venv environment? If thats the case the latest diffuser package must be installed inside the environment

xiaohei1997 commented 2 weeks ago

May I ask if your issue has been resolved? I have also encountered the same problem and it has not been resolved yet

jszewczyk commented 1 week ago

May I ask if your issue has been resolved? I have also encountered the same problem and it has not been resolved yet

Not yet, I don't want to install Conda or Venv. I have only standard windows environment.

jszewczyk commented 1 day ago

I'm not 100% sure, but I have added today --disable-smart-memory to my starting (run_nvidia_gpu.bat) file and the error is just gone :) or it could be any update of one of thousand files of comfy ui :D Problem solved in my case.