You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have searched the Inference issues and found no similar bug report.
Bug
When trying to do
from inference.models import YOLOWorld
or
from inference.models import Clip
It gives an importerror. when changing the code to:
from inference.models.yolo_world import YOLOWorld
and
from inference.models.clip import Clip
it works. The versions of the imports that give import errors are also used in the package itself, it is used in /inference/models/yolo_world/yolo_world.py for instance.
I fixed it for myself, but the package should probably be updated with this small change.
Environment
No response
Minimal Reproducible Example
No response
Additional
No response
Are you willing to submit a PR?
Yes I'd like to help by submitting a PR!
The text was updated successfully, but these errors were encountered:
Yeah, that's not super clear as we've missed that in one of docs iteration.
Idea is the following - each model is plug-in to the inference package installable as extras (due to various aspects of licensing for different models)
Search before asking
Bug
When trying to do
or
It gives an importerror. when changing the code to:
and
it works. The versions of the imports that give import errors are also used in the package itself, it is used in /inference/models/yolo_world/yolo_world.py for instance.
I fixed it for myself, but the package should probably be updated with this small change.
Environment
No response
Minimal Reproducible Example
No response
Additional
No response
Are you willing to submit a PR?
The text was updated successfully, but these errors were encountered: