-
-
Notifications
You must be signed in to change notification settings - Fork 15.9k
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
Adding --save-conf
to test.py
and detect.py
#1175
Adding --save-conf
to test.py
and detect.py
#1175
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hello @oboiko-chegg, thank you for submitting a PR! To allow your work to be integrated as seamlessly as possible, we advise you to:
- Verify your PR is up-to-date with origin/master. If your PR is behind origin/master update by running the following, replacing 'feature' with the name of your local branch:
git remote add upstream https://github.com/ultralytics/yolov5.git
git fetch upstream
git checkout feature # <----- replace 'feature' with local branch name
git rebase upstream/master
git push -u origin -f
- Verify all Continuous Integration (CI) checks are passing.
- Reduce changes to the absolute minimum required for your bug fix or feature addition. "It is not daily increase but daily decrease, hack away the unessential. The closer to the source, the less wastage there is." -Bruce Lee
@oboiko-chegg thanks for the PR. By coincidence I just updated and merged PR #994 today. This means there will be a conflict with detect.py, and also that these #1175 additions will have a different implementation. Can you update this PR here to conform to the new format as shown in #994? Thanks! https://github.com/ultralytics/yolov5/pull/994/files |
I will close this one and open a new one |
--save-conf
option todetect.py
andtest.py
--output
option totest.py
3 Honoring --save-txt
option in
test.py`Inspired by: #994
π οΈ PR Summary
Made with β€οΈ by Ultralytics Actions
π Summary
Added options to save detection confidences in output text files and to specify custom output directories during testing.
π Key Changes
save_conf
argument to include confidence scores in saved text files.output
command-line argument to specify a custom output directory for results.save_conf
is enabled.save_dir
.π― Purpose & Impact