Add catch for misspelled --task#10420
Merged
glenn-jocher merged 4 commits intoultralytics:masterfrom Dec 6, 2022
leandervaneekelen:patch-1
Merged
Add catch for misspelled --task#10420glenn-jocher merged 4 commits intoultralytics:masterfrom leandervaneekelen:patch-1
--task#10420glenn-jocher merged 4 commits intoultralytics:masterfrom
leandervaneekelen:patch-1
Conversation
Signed-off-by: Leander van Eekelen <47320151+leandervaneekelen@users.noreply.github.com>
for more information, see https://pre-commit.ci
Contributor
There was a problem hiding this comment.
👋 Hello @leandervaneekelen, thank you for submitting a YOLOv5 🚀 PR! To allow your work to be integrated as seamlessly as possible, we advise you to:
- ✅ Verify your PR is up-to-date with
ultralytics/yolov5masterbranch. If your PR is behind you can update your code by clicking the 'Update branch' button or by runninggit pullandgit merge masterlocally. - ✅ Verify all YOLOv5 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
Signed-off-by: Glenn Jocher <glenn.jocher@ultralytics.com>
Signed-off-by: Glenn Jocher <glenn.jocher@ultralytics.com>
--task
Member
|
@leandervaneekelen PR is merged. Thank you for your contributions to YOLOv5 🚀 and Vision AI ⭐ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Signed-off-by: Leander van Eekelen 47320151+leandervaneekelen@users.noreply.github.com
Fix #10419. Makes
val.pyfail loudly instead of silently on a misspelled--task.🛠️ PR Summary
Made with ❤️ by Ultralytics Actions
🌟 Summary
Added error handling for unsupported tasks in the validation scripts.
📊 Key Changes
segment/val.pyandval.py.--taskargument is used.🎯 Purpose & Impact