avatar-graph-comfyui
avatar-graph-comfyui copied to clipboard
max() arg is an empty sequence
Hello, I have problem:
Error occurred when executing Object_CreateMeshLayer:
max() arg is an empty sequence
File "/notebooks/ComfyUI/execution.py", line 153, in recursive_execute
output_data, output_ui = get_output_data(obj, input_data_all)
File "/notebooks/ComfyUI/execution.py", line 83, in get_output_data
return_values = map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True)
File "/notebooks/ComfyUI/execution.py", line 76, in map_node_over_list
results.append(getattr(obj, func)(**slice_dict(input_data_all, i)))
File "/notebooks/ComfyUI/custom_nodes/avatar-graph-comfyui/blender/blender_node.py", line 106, in process
results = self.blender_process(bpy, **props)
File "/notebooks/ComfyUI/custom_nodes/avatar-graph-comfyui/blender/ops_create_mesh_layer.py", line 26, in blender_process
image, BPY_OBJ = genreate_mesh_from_texture(bpy, image)
File "/notebooks/ComfyUI/custom_nodes/avatar-graph-comfyui/blender/mesh_utils.py", line 20, in genreate_mesh_from_texture
max_area_index = areas.index(max(areas))
Hey, can you check if the embedding is generated correctly by clicking into the Edit Prompt button? Also what is the workflow you are using?
I tried it on these two workflows. On 3 different computers, the same error is everywhere.
This workflow Simple Shape Flow
it still does not work out to put a point normally, the mouse is in another place, the point is put in another. Photo for Example
I don't know what's going on, but every time something becomes more difficult to highlight the eyes and lips
it worked out with this photo, but not very well https://editor.avatech.ai/viewer?objectId=45cac649-8d2f-4c86-bd4f-dab917bd62e3