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

Provide input_id_images. Cannot leave input_id_images undefined for PhotoMaker pipeline. #115

Open
Gyyyyyyyyds opened this issue Oct 28, 2024 · 4 comments

Comments

@Gyyyyyyyyds
Copy link

ComfyUI Error Report

Error Details

  • Node Type: Storydiffusion_Sampler
  • Exception Type: ValueError
  • Exception Message: Provide input_id_images. Cannot leave input_id_images undefined for PhotoMaker pipeline.

Stack Trace

  File "/Users/gaoyuan/ComfyUI/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 "/Users/gaoyuan/ComfyUI/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 "/Users/gaoyuan/ComfyUI/execution.py", line 169, in _map_node_over_list
    process_inputs(input_dict, i)

  File "/Users/gaoyuan/ComfyUI/execution.py", line 158, in process_inputs
    results.append(getattr(obj, func)(**inputs))

  File "/Users/gaoyuan/ComfyUI/custom_nodes/ComfyUI_StoryDiffusion/Storydiffusion_node.py", line 1823, in story_sampler
    for value in gen:

  File "/Users/gaoyuan/ComfyUI/custom_nodes/ComfyUI_StoryDiffusion/Storydiffusion_node.py", line 870, in process_generation
    id_images = pipe(

  File "/Users/gaoyuan/miniconda3/envs/comflowy/lib/python3.10/site-packages/torch/utils/_contextlib.py", line 116, in decorate_context
    return func(*args, **kwargs)

  File "/Users/gaoyuan/ComfyUI/custom_nodes/ComfyUI_StoryDiffusion/utils/pipeline_v2.py", line 691, in __call__
    raise ValueError(
![WechatIMG760](https://github.com/user-attachments/assets/e360430e-e0dc-4041-8b9e-cb86521ab736)
@smthemex
Copy link
Owner

please read readme and check out example

@Gyyyyyyyyds
Copy link
Author

WechatIMG760

@uu95
Copy link

uu95 commented Nov 15, 2024

@Gyyyyyyyyds were you able to solve it ?

@Gyyyyyyyyds
Copy link
Author

sry, not yet

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

3 participants