The Make Mask Batch node raised the following error:
got prompt
!!! Exception during processing !!! name 'utils' is not defined
Traceback (most recent call last):
File "/mnt/ai/App/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 "/mnt/ai/App/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 "/mnt/ai/App/ComfyUI/execution.py", line 169, in _map_node_over_list
process_inputs(input_dict, i)
File "/mnt/ai/App/ComfyUI/execution.py", line 158, in process_inputs
results.append(getattr(obj, func)(**inputs))
File "/mnt/ai/App/ComfyUI/custom_nodes/ComfyUI-Impact-Pack/modules/impact/util_nodes.py", line 504, in doit
masks = [utils.make_3d_mask(value) for value in kwargs.values()]
File "/mnt/ai/App/ComfyUI/custom_nodes/ComfyUI-Impact-Pack/modules/impact/util_nodes.py", line 504, in <listcomp>
masks = [utils.make_3d_mask(value) for value in kwargs.values()]
NameError: name 'utils' is not defined
Prompt executed in 0.08 seconds
In the first line of the file, the make_3d_mask function is imported as:
from impact.utils import any_typ, ByPassTypeTuple, make_3d_mask
I changed one line so the imported function is used.
The
Make Mask Batch
node raised the following error:In the first line of the file, the
make_3d_mask
function is imported as:I changed one line so the imported function is used.