tencent-ailab / IP-Adapter

The image prompt adapter is designed to enable a pretrained text-to-image diffusion model to generate images with image prompt.
Apache License 2.0
4.53k stars 298 forks source link

update fails¿? #219

Open zephirusgit opened 6 months ago

zephirusgit commented 6 months ago

The other day he had the bad idea of updating the comfyui and from there as the iPadapter died, I had a very beautiful workflow that a person detected me, in the frames of a video I could assign a face, clothes, and I was able to paint the animation, for example dancing, dancing, dancing, dancing, Until 12/12 it worked well at least that was the last time I used it, then until Aller that I took again there is no case,

A real shame because beautiful things began to come out.

Error occurred when executing IPAdapter:

CLIPVision.forward() got an unexpected keyword argument 'output_hidden_states'

File "c:\ia\comfyu 3\ComfyUI_windows_portable\ComfyUI\execution.py", line 154, in recursive_execute output_data, output_ui = get_output_data(obj, input_data_all) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "c:\ia\comfyu 3\ComfyUI_windows_portable\ComfyUI\execution.py", line 84, in get_output_data return_values = map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "c:\ia\comfyu 3\ComfyUI_windows_portable\ComfyUI\execution.py", line 77, in map_node_over_list results.append(getattr(obj, func)(slice_dict(input_data_all, i))) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\ia\comfyu 3\ComfyUI_windows_portable\ComfyUI\custom_nodes\IPAdapter-ComfyUI\ip_adapter.py", line 162, in adapter cond, uncond, outputs = self.clip_vision_encode(clip_vision, image, self.plus) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\ia\comfyu 3\ComfyUI_windows_portable\ComfyUI\custom_nodes\IPAdapter-ComfyUI\ip_adapter.py", line 238, in clip_vision_encode outputs = clip_vision.model(pixel_values=pixel_values, output_hidden_states=True) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "c:\ia\comfyu 3\ComfyUI_windows_portable\python_embeded\Lib\site-packages\torch\nn\modules\module.py", line 1518, in _wrapped_call_impl return self._call_impl(*args, *kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "c:\ia\comfyu 3\ComfyUI_windows_portable\python_embeded\Lib\site-packages\torch\nn\modules\module.py", line 1527, in _call_impl return forward_call(args, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "c:\ia\comfyu 3\ComfyUI_windows_portable\ComfyUI\comfy\clip_model.py", line 186, in forward x = self.vision_model(*args, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "c:\ia\comfyu 3\ComfyUI_windows_portable\python_embeded\Lib\site-packages\torch\nn\modules\module.py", line 1518, in _wrapped_call_impl return self._call_impl(*args, *kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "c:\ia\comfyu 3\ComfyUI_windows_portable\python_embeded\Lib\site-packages\torch\nn\modules\module.py", line 1527, in _call_impl return forward_call(args, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

ipafail

xiaohu2015 commented 6 months ago

can you make a issue in https://github.com/cubiq/ComfyUI_IPAdapter_plus

zephirusgit commented 6 months ago

i find the problem..

the folder \ComfyUI\web\extensions\pysssss\CustomScripts i test in new confyui and the same problem but i copy it again these folder and solve the problem some folders, are direct shorcuts, i dont know whi.

zephirusgit commented 6 months ago

bug ipadapter

zephirusgit commented 6 months ago

dance again :D

dances