chaojie / ComfyUI-DragAnything

68 stars 6 forks source link

list index out of range #2

Open ZhangYang-UCAS opened 7 months ago

ZhangYang-UCAS commented 7 months ago

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 commented 7 months ago

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