Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
piovis2023 opened this issue Jun 23, 2024 · 0 comments
Open

Comments

@piovis2023
Copy link

Hi all,

I've installed the musepose align, exactly as per the excellent "#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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant