Sahi with yolo11 #1093
Unanswered
AJITKUMAR130012
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have trained the yolo11
For the dependency installation, i have used the following command by creating the enviroment through the virtualenv:
pip install sahi
conda install pytorch=1.13.1 torchvision=0.14.1 pytorch-cuda=11.7 -c pytorch -c nvidia
pip install ultralytics
To run the inference, I have used the below command:
sahi predict --model_path yolo11_face_best.pt --model_type ultralytics --source "video.mp4"
( without using the command - pip install yolov5)
Got below error:
Then i tried the below command by installing yolov5:
pip install yolov5==7.0.13
sahi predict --model_path yolo11_face_best.pt --model_type yolov5 --source "video.mp4"
Still got the error:
Please suggest me, what command need to use for the yolo11
Beta Was this translation helpful? Give feedback.
All reactions