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

how to draw obb detection boxes, #66

Open
dhunjoshi opened this issue Jul 16, 2024 · 3 comments
Open

how to draw obb detection boxes, #66

dhunjoshi opened this issue Jul 16, 2024 · 3 comments

Comments

@dhunjoshi
Copy link

I want to draw obb boxes. i tried but these are not at actual position.

@dme-compunet
Copy link
Owner

@dhunjoshi Could you please provide an example of reproduction (photo, and model if need)

@Cosmos1973GQ
Copy link

Snipaste_2024-08-20_19-56-49
Dear Author,

I am a student, and I have encountered some difficulties while conducting an experiment. Specifically, when I try to run the line var result = predictor.Detect(ImagePath), I receive the following error: System.InvalidOperationException: 'The loaded model does not support this task'. Initially, I thought this might be due to incompatibility issues with the ONNX file version. However, after multiple downgrades, it seems that the issue is not related to the model itself. It appears that there might be a problem with the NuGet package for Yolov8. This is because when I use the unwrapped source code shared by the author, I can successfully execute and obtain the desired results.

@dme-compunet
Copy link
Owner

@Cosmos1973GQ From the screenshot I see that you are using a model called yolov8s_cls_seg.onnx which I am not sure if its task is classify or segment, and with this model you are trying to perform detect operation - which leads to an error: InvalidOperationException: 'The loaded model does not support this task

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

3 participants