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

Error: 'ImageDraw' object has no attribute 'circle' #10

Open
kiron111 opened this issue Oct 4, 2024 · 1 comment
Open

Error: 'ImageDraw' object has no attribute 'circle' #10

kiron111 opened this issue Oct 4, 2024 · 1 comment

Comments

@kiron111
Copy link

kiron111 commented Oct 4, 2024

File "F:\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-PixtralLlamaVision\nodes.py", line 658, in plot_points
draw.circle((x, y), fill=color_map[label], outline=color_map[label], radius=size)
^^^^^^^^^^^
AttributeError: 'ImageDraw' object has no attribute 'circle'

I am using Molmo 7B to count people and point them (mostly you worflow example, except you updated and added the system promp input), the point coordinate is displayed, but after the Parse Points is processed, the Plot Point node shows errors.

@kiron111
Copy link
Author

kiron111 commented Oct 4, 2024

After updating pillow to latest version, 10.4.0, the problems solved.

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