Skip to content

Add Unlabeled as a selectable pseudo-class for training - #66

Open
FerretCode wants to merge 1 commit into
mainfrom
agent/njobvu-feature-architect/620f3124
Open

Add Unlabeled as a selectable pseudo-class for training#66
FerretCode wants to merge 1 commit into
mainfrom
agent/njobvu-feature-architect/620f3124

Conversation

@FerretCode

Copy link
Copy Markdown
Collaborator

Summary

  • Previously unlabeled images (no Labels rows) were always silently pulled into YOLO detect/segment/obb training runs as background/negative examples, with no way to see or opt out of that in the UI.
  • The Class Subset Selection list on the training settings page now includes an "Unlabeled" checkbox (checked by default, so existing behavior is unchanged unless someone unchecks it) showing the current unlabeled image count.
  • routes/training/yoloRun.js now only includes unlabeled images for detect/segment/obb tasks when that checkbox is checked; unchecking it excludes them. No selected_classes at all still means "include everything" (legacy/API callers unaffected). Classification training is untouched.
  • Adds queries.project.getUnlabeledImages.

Resolves CEO-50.

Test plan

  • npx jest — 33 suites / 217 tests pass locally
  • Added tests/integration/yoloRun.test.js cases covering both the include and exclude paths
  • Updated tests/integration/yoloXTrainingSettingsClassCounts.test.js for the new pseudo-class entry

🤖 Generated with Claude Code

Previously unlabeled images were always silently pulled into YOLO
detect/segment/obb training runs as background examples, with no way
to opt out, and no way to see the option at all in the Class Subset
Selection UI. Surface "Unlabeled" as a checkbox alongside real classes
on the training settings page (backed by a new
queries.project.getUnlabeledImages) and gate their inclusion in
routes/training/yoloRun.js on that checkbox instead of including them
unconditionally.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Co-authored-by: multica-agent <github@multica.ai>
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.

1 participant