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

CFGenerator object has no attribute 'pulid_model' #93

Open
adamreading opened this issue Oct 1, 2024 · 4 comments
Open

CFGenerator object has no attribute 'pulid_model' #93

adamreading opened this issue Oct 1, 2024 · 4 comments

Comments

@adamreading
Copy link

SO I loaded the latest node version - and that has fixed some of the issues - but now I have two options:

If I connect the reference image to the "Control Image" input - it runs and I get images, but they bear no relation to the reference image at all:
Screenshot 2024-10-01 112247
But if I connect to the "image" input instead I get a new error message:
Screenshot 2024-10-01 112314

@adamreading
Copy link
Author

total_vram is 22515.75,aggressive_offload is False,offload is True
!!! Exception during processing !!! 'CFGenerator' object has no attribute 'pulid_model'
Traceback (most recent call last):
File "/data/app/execution.py", line 323, in execute
output_data, output_ui, has_subgraph = get_output_data(obj, input_data_all, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb)
File "/data/app/execution.py", line 198, in get_output_data
return_values = _map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb)
File "/data/app/execution.py", line 169, in map_node_over_list
process_inputs(input_dict, i)
File "/data/app/execution.py", line 158, in process_inputs
results.append(getattr(obj, func)(**inputs))
File "/data/app/custom_nodes/ComfyUI_StoryDiffusion/Storydiffusion_node.py", line 341, in story_model_loader
input_id_emb_s_dict, input_id_img_s_dict, input_id_emb_un_dict, input_id_cloth_dict=get_insight_dict(app_face,pipeline_mask,app_face
,image_load,photomake_mode,
File "/data/app/custom_nodes/ComfyUI_StoryDiffusion/model_loader_utils.py", line 1408, in get_insight_dict
id_embed_list, uncond_id_embeddings = pipe.pulid_model.get_id_embedding(id_image,
AttributeError: 'CFGenerator' object has no attribute 'pulid_model'

@smthemex
Copy link
Owner

smthemex commented Oct 1, 2024

This is an error that occurred after encapsulating the standard process of ComfyUI. I will fix it soon。

@adamreading
Copy link
Author

Can you please confirm what is Control Image and what is Image for please?

@smthemex
Copy link
Owner

smthemex commented Oct 1, 2024

control img just for 2 roles in 1 img,example ms-diffusion or story maker,
You connect to control-img but not image, in fact, it's the process of running txt2img,pulid not support txt2img now

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

2 participants