Skip to content

[test]: Add background class label and train with background supervision #13

Description

@Dinghye

We want to explicitly model the background class as an additional supervised signal. Currently, background pixels are implicitly handled, but adding a dedicated background label may help the model better distinguish foreground segmentation targets from non-target regions.

Motivation

The goal is to improve segmentation quality, especially by reducing false positives and helping the model learn clearer decision boundaries between foreground objects and background regions.

Tasks

  • Define how to compute the background class from existing labels.
  • Add the background class as a new label/channel in the training targets.
  • Update the data loading pipeline to include the background label.
  • Modify the loss function if needed to supervise the background class.
  • Train and compare against the current best baseline.

Deliverables

  • Code changes for background label generation.
  • Updated training pipeline supporting background supervision.
  • Experiment results comparing:
    • current baseline(run in your env)
    • baseline + background supervision
  • Short summary of whether this improves IoU / RMSE.

Acceptance Criteria

  • Background labels are correctly generated and visualized on sample images.
  • Training runs successfully with the new background supervision.
  • Results are reported with IoU and RMSE comparison against baseline.

Notes

Please keep experiments reproducible:

  • record config changes
  • record checkpoint path
  • report validation IoU and RMSE
  • attach qualitative visualization if possible

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions