ZHO-ZHO-ZHO / ComfyUI-YoloWorld-EfficientSAM

Unofficial implementation of YOLO-World + EfficientSAM for ComfyUI
GNU General Public License v3.0
625 stars 58 forks source link

Error occurred when executing Yoloworld_ESAM_Zho: #75

Open ayush1268 opened 4 months ago

ayush1268 commented 4 months ago

iam getting this error please help me ComfyUI - Google Chrome 12-07-2024 16_22_42 ComfyUI - Google Chrome 12-07-2024 16_22_34

cannot import name 'packaging' from 'pkg_resources' (F:\ComfyUI_windows_portable\python_embeded\Lib\site-packages\pkg_resources__init__.py)

File "F:\ComfyUI_windows_portable\ComfyUI\execution.py", line 151, in recursive_execute output_data, output_ui = get_output_data(obj, input_data_all) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "F:\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 "F:\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 "F:\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-YoloWorld-EfficientSAM\YOLO_WORLD_EfficientSAM.py", line 139, in yoloworld_esam_image YOLO_WORLD_MODEL.set_classes(categories) File "F:\ComfyUI_windows_portable\python_embeded\Lib\site-packages\inference\models\yolo_world\yolo_world.py", line 133, in set_classes self.model.set_classes(text) File "F:\ComfyUI_windows_portable\python_embeded\Lib\site-packages\ultralytics\models\yolo\model.py", line 97, in set_classes self.model.set_classes(classes) File "F:\ComfyUI_windows_portable\python_embeded\Lib\site-packages\ultralytics\nn\tasks.py", line 573, in set_classes import clip File "F:\ComfyUI_windows_portable\python_embeded\Lib\site-packages\clip__init__.py", line 1, in from .clip import File "F:\ComfyUI_windows_portable\python_embeded\Lib\site-packages\clip\clip.py", line 6, in from pkg_resources import packaging