Open alessandroperilli opened 7 months ago
after run pip install interence
get new error:
ImportError: cannot import name 'YOLOWorld' from 'inference.models'
edit YOLO_WORLD_EfficientSAM.py can resolve the error
- from inference.models import YOLOWorld
+ from inference.models.yolo_world import YOLOWorld
then get new error
ModuleNotFoundError: No module named 'clip'
module 'clip' has no attribute 'clip'
fix it
pip install git+https://github.com/openai/CLIP.git
As a complement, edit requirements.txt to
inference[yolo-world]==0.9.20
and edit YOLO_WORLD_EfficientSAM.py can resolve the error
- from inference.models import YOLOWorld
+ from inference.models.yolo_world import YOLOWorld
and run
pip install -r requirements.txt
Hi. Thanks for this new great custom node!
The node suite, installed it via ComfyUI Manager, fails to import due to the following error:
I believe this is because I am on Apple M2 and the requirement.txt is looking for an
inference-gpu
package that is not available for macOS.As I read on PyPI, perhaps the requirement can be modified to also install the
inference
package?Thank you