TMElyralab / Comfyui-MusePose

Other
287 stars 28 forks source link

Musepose align: 'NoneType' object cannot be interpreted as an integer #50

Open piovis2023 opened 1 week ago

piovis2023 commented 1 week ago

Hi all,

I've installed the musepose align, exactly as per the excellent "https://github.com/TMElyralab/Comfyui-MusePose/issues/27" instructions by #27 huiyichanmian

When I try to run it, I get the following error. I'm trying to use the same workflow as the MosePose demo.

Can anyone help?

Error occurred when executing museposealign: 'NoneType' object cannot be interpreted as an integer File "C:\ComfyUI\execution.py", line 151, in recursive_execute output_data, output_ui = get_output_data(obj, input_data_all) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\ComfyUI\execution.py", line 81, in get_output_data return_values = map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\ComfyUI\execution.py", line 74, in map_node_over_list results.append(getattr(obj, func)(**slice_dict(input_data_all, i))) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\ComfyUI\custom_nodes\Comfyui-MusePose\nodes.py", line 532, in posealign_func ref_image.save(image_path) File "C:\miniconda3\envs\comfyui2\Lib\site-packages\PIL\Image.py", line 2459, in save of the sequence. File "C:\miniconda3\envs\comfyui2\Lib\site-packages\PIL\JpegImagePlugin.py", line 806, in _save ImageFile._save(im, fp, [("jpeg", (0, 0) + im.size, 0, rawmode)], bufsize) File "C:\miniconda3\envs\comfyui2\Lib\site-packages\PIL\ImageFile.py", line 538, in _save errcode, data = encoder.encode(bufsize)[1:] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\miniconda3\envs\comfyui2\Lib\site-packages\PIL\ImageFile.py", line 549, in _encode_tile encoder.cleanup() ^^^^^^^^^^^^ File "C:\miniconda3\envs\comfyui2\Lib\site-packages\PIL\Image.py", line 433, in _getencoder encoder = getattr(core, encoder_name + "_encoder") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^

image