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

list index out of range #2

Open
ZhangYang-UCAS opened this issue Mar 20, 2024 · 1 comment
Open

list index out of range #2

ZhangYang-UCAS opened this issue Mar 20, 2024 · 1 comment

Comments

@ZhangYang-UCAS
Copy link

Error occurred when executing DragAnythingRun:

list index out of range

File "/code/ComfyUI-master/execution.py", line 152, in recursive_execute
output_data, output_ui = get_output_data(obj, input_data_all)
File "/code/ComfyUI-master/execution.py", line 82, in get_output_data
return_values = map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True)
File "/code/ComfyUI-master/execution.py", line 75, in map_node_over_list
results.append(getattr(obj, func)(**slice_dict(input_data_all, i)))
File "/code/ComfyUI-master/custom_nodes/ComfyUI-DragAnything/nodes.py", line 624, in run
validation_control_images,ids_embedding,vis_images = get_condition(target_size=(height , width),
File "/code/ComfyUI-master/custom_nodes/ComfyUI-DragAnything/nodes.py", line 327, in get_condition
first_mask = mask_list[ind]

@chaojie
Copy link
Owner

chaojie commented Mar 20, 2024

mask_list length needs to be greater than or equal to trajectory_list length

trajectory_list length needs to be greater than or equal to frame_number

height and width must be multiples of 64

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