feat: add keypoint detection ingestion template#58
Open
shujaatTracebloc wants to merge 4 commits intodevelopfrom
Open
feat: add keypoint detection ingestion template#58shujaatTracebloc wants to merge 4 commits intodevelopfrom
shujaatTracebloc wants to merge 4 commits intodevelopfrom
Conversation
d21df78 to
f92e334
Compare
7a862ea to
f92e334
Compare
This was referenced May 6, 2026
Closes #52 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Rename data_id to filename in both semantic segmentation and keypoint detection CSVs/READMEs to match framework file_transfer expectations - Add annotation_column="Annotation" to keypoint detection ingestor - Add keypoints list and num_keypoints in file_options for keypoint detection - Add validator mappings for SEMANTIC_SEGMENTATION and KEYPOINT_DETECTION Closes #52 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Rename num_keypoints to number_of_keypoints in file_options to match backend CheckModelClassesView and Python package match_points key - Set intent to TRAIN for both semantic segmentation and keypoint detection Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Masks must always be grayscale PNGs regardless of the image extension configured for the dataset. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
08ae2ca to
2e6fc19
Compare
2 tasks
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.
Summary
templates/keypoint_detection/template with main ingestion script, sample images, CSV labels file with JSON keypoint annotations, and README documentationobject_detection,image_classification)TaskCategory.KEYPOINT_DETECTIONwith JSON-basedAnnotationandVisibilitycolumnsCloses #52
Test plan
keypoint_detection.pyruns without import errorskeypoint_detectionuse case expectations🤖 Generated with Claude Code
Note
Medium Risk
Adds a new ingestion pathway and updates validator selection for
SEMANTIC_SEGMENTATION/KEYPOINT_DETECTION, which can change runtime validation behavior for these task types. Also updates semantic segmentation template defaults and CSV headers, which may break existing template-based workflows if users relied on the prior column name or intent.Overview
Adds a new
templates/keypoint_detectionexample (script, README, and sample CSV) for ingesting image-based keypoint detection datasets using JSONAnnotation/Visibilityfields andTaskCategory.KEYPOINT_DETECTION.Aligns the semantic segmentation template with the expected CSV header (
filenameinstead ofdata_id) and switches the example ingestionintenttoIntent.TRAIN.Extends
validators_mapping.map_validatorsto return dedicated validator sets forSEMANTIC_SEGMENTATION(including mask PNG validation) and forKEYPOINT_DETECTION(image file type + resolution checks), rather than falling back to the default mapping.Reviewed by Cursor Bugbot for commit 2e6fc19. Bugbot is set up for automated code reviews on this repo. Configure here.