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

YOLOv6 with SAHI KeyError #3

Open
Xavierhoyx opened this issue Sep 28, 2023 · 0 comments
Open

YOLOv6 with SAHI KeyError #3

Xavierhoyx opened this issue Sep 28, 2023 · 0 comments

Comments

@Xavierhoyx
Copy link

Hi all,

I have trouble using SAHI with YOLOv6, when I try to define my detection model, I keep getting KeyError.

detection_model = AutoDetectionModel.from_pretrained(model_type='yolo6',model_path='weights/best_ckpt.pt',confidence_threshold=0.3,device="cuda:0")

I have used this line of code for yolov7hub and yolov8 without any problems.

Any help would be appreciated, thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant