Skip to content

unet_segmentation: raise the epoch budget and add early stopping - #60

Open
nilshof01 wants to merge 1 commit into
hotosm:developfrom
nilshof01:feat/unet-early-stopping
Open

unet_segmentation: raise the epoch budget and add early stopping#60
nilshof01 wants to merge 1 commit into
hotosm:developfrom
nilshof01:feat/unet-early-stopping

Conversation

@nilshof01

Copy link
Copy Markdown

The pipeline trained a fixed 5 epochs with no early stopping and no best-epoch restore (the DINOv3 pipeline has both). Measured at 32 training chips (6 regions x 5 folds), the best epoch fell in the 19-30 range in every region; the best val F1 reachable within 5 epochs vs 30 epochs + early stopping: Banepa 48.2->69.1, Jakarta 54.8->61.6, Accra 37.1->48.3, Bogota 15.0->23.1, Manila 61.9->67.2, Nairobi 40.3->51.7.

epochs default 5 -> 30; new early_stop_patience (default 5, 0 disables) monitoring validation loss with best-epoch weight restore. Compute cost stays bounded by early stopping, and warm starts that converge early (e.g. the building-pretrained base) stop well before the cap.

The pipeline trained a fixed 5 epochs with no early stopping and no
best-epoch restore (the DINOv3 pipeline has both). Measured at 32
training chips (6 regions x 5 folds), the best epoch fell in the 19-30
range in every region; the best val F1 reachable within 5 epochs vs 30
epochs + early stopping: Banepa 48.2->69.1, Jakarta 54.8->61.6, Accra
37.1->48.3, Bogota 15.0->23.1, Manila 61.9->67.2, Nairobi 40.3->51.7.

epochs default 5 -> 30; new early_stop_patience (default 5, 0 disables)
monitoring validation loss with best-epoch weight restore. Compute cost
stays bounded by early stopping, and warm starts that converge early
(e.g. the building-pretrained base) stop well before the cap.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
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