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

name 'YOLO' is not defined #316

Open
3 tasks done
mrleotheo opened this issue May 20, 2024 · 1 comment
Open
3 tasks done

name 'YOLO' is not defined #316

mrleotheo opened this issue May 20, 2024 · 1 comment
Labels
bug Something isn't working new

Comments

@mrleotheo
Copy link

First, confirm

  • I have read the instruction carefully
  • I have searched the existing issues
  • I have updated the extension to the latest version

What happened?

Hi! I got this Issue. Please help

Steps to reproduce the problem

Your workflow

Sysinfo

4080

Relevant console log

Error occurred when executing ReActorMaskHelper:

name 'YOLO' is not defined

File "C:\AI!\ComfyUI_windows_portable\ComfyUI\execution.py", line 151, in recursive_execute
output_data, output_ui = get_output_data(obj, input_data_all)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\AI!\ComfyUI_windows_portable\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:\AI!\ComfyUI_windows_portable\ComfyUI\execution.py", line 74, in map_node_over_list
results.append(getattr(obj, func)(**slice_dict(input_data_all, i)))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\AI!\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-reactor-node\nodes.py", line 703, in execute
bbox_model = subcore.load_yolo(bbox_model_path)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\AI!\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-reactor-node\scripts\r_masking\subcore.py", line 16, in load_yolo
return YOLO(model_path)
^^^^

Additional information

No response

@mrleotheo mrleotheo added bug Something isn't working new labels May 20, 2024
@neischlah
Copy link

Looks like a dependency is missing - try pip install ultralytics

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working new
Projects
None yet
Development

No branches or pull requests

2 participants