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

Added threshold parameter to detector runner #9011

Merged
merged 5 commits into from
Jan 31, 2025

Conversation

klakhov
Copy link
Contributor

@klakhov klakhov commented Jan 29, 2025

Motivation and context

Added an input field to detector runner with threshold parameter. The parameter already supported by the server.
By default the parameter is undefined and UI lets the server decide what threshold to use.
detector-threshold-2-ezgif com-optimize

How has this been tested?

Checklist

  • I submit my changes into the develop branch
  • I have created a changelog fragment
  • I have updated the documentation accordingly
  • [ ] I have added tests to cover my changes
  • I have linked related issues (see GitHub docs)

License

  • I submit my code changes under the same MIT License that covers the project.
    Feel free to contact the maintainers if that's a concern.

@klakhov klakhov requested a review from bsekachev as a code owner January 29, 2025 11:07
@SpecLad
Copy link
Contributor

SpecLad commented Jan 29, 2025

Default value is 0.90

Why 0.9? Our Nuclio functions default to 0.5, and so do Roboflow/HF functions; seems like we should do the same to preserve the default behavior.

@bsekachev
Copy link
Member

IMHO it should be optional and default value should be undefined.

@bsekachev
Copy link
Member

May you update couple of docs here

https://docs.cvat.ai/docs/manual/advanced/automatic-annotation/
https://docs.cvat.ai/docs/manual/advanced/ai-tools/#detectors

Screenshots + describe threshold parameter

@codecov-commenter
Copy link

codecov-commenter commented Jan 30, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 73.43%. Comparing base (7484e4d) to head (d9d377d).

Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #9011      +/-   ##
===========================================
- Coverage    73.43%   73.43%   -0.01%     
===========================================
  Files          418      418              
  Lines        44299    44299              
  Branches      3870     3870              
===========================================
- Hits         32533    32532       -1     
- Misses       11766    11767       +1     
Components Coverage Δ
cvat-ui 77.42% <ø> (-0.01%) ⬇️
cvat-server 70.12% <ø> (ø)

@klakhov
Copy link
Contributor Author

klakhov commented Jan 31, 2025

Documentation will be updated here: #8853

@klakhov klakhov merged commit 30e900b into develop Jan 31, 2025
34 checks passed
@cvat-bot cvat-bot bot mentioned this pull request Feb 4, 2025
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

Successfully merging this pull request may close these issues.

4 participants