|
发表于 2024-8-2 23:32:41
|
显示全部楼层
Error occurred when executing LivePortraitNode:
Cannot handle this data type: (1, 1, 729, 3), |u1
File "E:\ComfyUI-aki\ComfyUI-aki-v1.3\ComfyUI-aki-v1.3\execution.py", line 152, in recursive_execute
output_data, output_ui = get_output_data(obj, input_data_all)
File "E:\ComfyUI-aki\ComfyUI-aki-v1.3\ComfyUI-aki-v1.3\execution.py", line 82, in get_output_data
return_values = map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True)
File "E:\ComfyUI-aki\ComfyUI-aki-v1.3\ComfyUI-aki-v1.3\execution.py", line 66, in map_node_over_list
results.append(getattr(obj, func)(**input_data_all))
File "E:\ComfyUI-aki\ComfyUI-aki-v1.3\ComfyUI-aki-v1.3\custom_nodes\comfyui-liveportrait\nodes\live_portrait.py", line 341, in run
pil_image=tensor2pil(source_image[0])
File "E:\ComfyUI-aki\ComfyUI-aki-v1.3\ComfyUI-aki-v1.3\custom_nodes\comfyui-liveportrait\nodes\live_portrait.py", line 24, in tensor2pil
return Image.fromarray(np.clip(255. * image.cpu().numpy().squeeze(), 0, 255).astype(np.uint8))
File "E:\ComfyUI-aki\ComfyUI-aki-v1.3\ComfyUI-aki-v1.3\python\lib\site-packages\PIL\Image.py", line 3092, in fromarray
raise TypeError(msg) from e |
|