ZHO-ZHO-ZHO / ComfyUI-InstantID

Unofficial implementation of InstantID for ComfyUI
1.36k stars 78 forks source link

'StableDiffusionXLInstantIDPipeline' object has no attribute 'image_proj_model_in_features' #127

Open BH531 opened 8 months ago

BH531 commented 8 months ago

Error occurred when executing IDGenerationNode:

'StableDiffusionXLInstantIDPipeline' object has no attribute 'image_proj_model_in_features'

File "C:\Users\user\OneDrive\Documents\sd comfyui\秋葉\ComfyUI-aki-v1.3\execution.py", line 152, in recursive_execute output_data, output_ui = get_output_data(obj, input_data_all) File "C:\Users\user\OneDrive\Documents\sd comfyui\秋葉\ComfyUI-aki-v1.3\execution.py", line 82, in get_output_data return_values = map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True) File "C:\Users\user\OneDrive\Documents\sd comfyui\秋葉\ComfyUI-aki-v1.3\execution.py", line 75, in map_node_over_list results.append(getattr(obj, func)(*slice_dict(input_data_all, i))) File "C:\Users\user\OneDrive\Documents\sd comfyui\秋葉\ComfyUI-aki-v1.3\custom_nodes\ComfyUI-InstantID\InstantIDNode.py", line 288, in id_generate_image output = pipe( File "C:\Users\user\OneDrive\Documents\sd comfyui\秋葉\ComfyUI-aki-v1.3\python\lib\site-packages\torch\utils_contextlib.py", line 115, in decorate_context return func(args, **kwargs) File "C:\Users\user\OneDrive\Documents\sd comfyui\秋葉\ComfyUI-aki-v1.3\custom_nodes\ComfyUI-InstantID\pipeline_stable_diffusion_xl_instantid.py", line 506, in call prompt_image_emb = self._encode_prompt_image_emb(image_embeds, File "C:\Users\user\OneDrive\Documents\sd comfyui\秋葉\ComfyUI-aki-v1.3\custom_nodes\ComfyUI-InstantID\pipeline_stable_diffusion_xl_instantid.py", line 225, in _encode_prompt_image_emb prompt_image_emb = prompt_image_emb.reshape([1, -1, self.image_proj_model_in_features]) File "C:\Users\user\OneDrive\Documents\sd comfyui\秋葉\ComfyUI-aki-v1.3\python\lib\site-packages\diffusers\configuration_utils.py", line 142, in getattr raise AttributeError(f"'{type(self).name}' object has no attribute '{name}'")