Skip to content

Test for learning convergence for different tasks using overfit_batches#344

Merged
dtronmans merged 12 commits intomainfrom
feat/overfit_batches_tests
Feb 18, 2026
Merged

Test for learning convergence for different tasks using overfit_batches#344
dtronmans merged 12 commits intomainfrom
feat/overfit_batches_tests

Conversation

@dtronmans
Copy link
Contributor

Purpose

  • Tests for learning convergence using the overfit_batches argument, after 200 epochs with a batch size of 4 the loss should be under a certain threshold
  • The threshold is determined by the loss formulation: higher for detection, instance segmentation and keypoint detection because the loss is composite
  • Actually found out through these tests that we were wrongfully multiplying by batch_size in efficient_keypoint_bbox_loss. It was correctly learning and metrics were improving over time, but still this is an unnecessary multiplier

Specification

Dependencies & Potential Impact

Deployment Plan

Testing & Validation

@dtronmans dtronmans requested a review from a team as a code owner February 16, 2026 16:34
@dtronmans dtronmans requested review from conorsim, klemen1999, kozlov721 and tersekmatija and removed request for a team February 16, 2026 16:34
@github-actions github-actions bot added enhancement New feature or request tests Adding or changing tests labels Feb 16, 2026
@dtronmans dtronmans changed the title Feat/overfit batches tests Test for learning convergence for different tasks using overfit_batches Feb 16, 2026
@dtronmans dtronmans merged commit 40dc89e into main Feb 18, 2026
11 checks passed
@dtronmans dtronmans deleted the feat/overfit_batches_tests branch February 18, 2026 12:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request tests Adding or changing tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants