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

Where can I change the iou and conference of the model from the beginning? #6

Closed
s1030512149 opened this issue Aug 18, 2023 · 2 comments

Comments

@s1030512149
Copy link

Sorry to bother again.
Here is my code:
var predictor = new YoLoV8(modelpath);
predictor.Parameter.IoU = 0.15f;
predictor.Parameter.Confidence = 0.4f.

It works. But can i change the value of iou and conf from the first line: var predictor = new YoLoV8(modelpath, ......)
Can u help me with that, thanks a lot.

@dme-compunet
Copy link
Owner

Currently there is no such option, why is it important for you to initialize it from the constructor?

@s1030512149
Copy link
Author

Currently there is no such option, why is it important for you to initialize it from the constructor?

OK, thanks for your reply. Actually, it is not important for me from the initialization. If there is no option, that's fine. Thans again.

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

2 participants