-
Notifications
You must be signed in to change notification settings - Fork 42
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
[DAR-2639][External] Add data & tests for in-platform model training #872
Conversation
@@ -339,7 +344,7 @@ def _download_single_slot_from_json_annotation( | |||
image_url = image["url"] | |||
image_filename = image["file_name"] | |||
suffix = Path(image_filename).suffix | |||
stem = annotation_path.stem | |||
stem = Path(annotation.filename).stem |
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.
In cases where there are duplicate item names, the annotation_path.stem
will have an _n
appended, which will cause darwin-py to fail to find the corresponding item. Therefore, use the item name since this will not have a _n
appended for uniqueness
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.
resolves model training bugs, phew!
Problem
There are no tests for in-platform model training functionality
Solution
Add data & tests to support testing of darwin-py functionality used in in-platform model training. In addition to this:
convert_xyxy_to_bounding_box
used by model trainingget_annotations()
to read local items from the item name, not the annotation file nameChangelog
(Will appear in release docs)