Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
BH531 opened this issue Apr 2, 2024 · 0 comments

Comments

@BH531
Copy link

BH531 commented Apr 2, 2024

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}'")

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant