Skip to content

apply_on_stages config item#380

Open
dtronmans wants to merge 4 commits intofeat/show-applied-augmentationsfrom
feat/val-test-time-augmentations
Open

apply_on_stages config item#380
dtronmans wants to merge 4 commits intofeat/show-applied-augmentationsfrom
feat/val-test-time-augmentations

Conversation

@dtronmans
Copy link
Copy Markdown
Contributor

@dtronmans dtronmans commented Apr 29, 2026

Purpose

Relied on feat/show-applied-augmentations to manually test using --list-augmentations (that's why the target branch is feat/show-applied-augmentations, and also relies on a release of LuxonisML with a version bump

When apply_on_stages is not specified, the default behavior remains (no augmentation added to val):

augmentations:
  - name: Defocus
    params:
      p: 0.9
  - name: Sharpen
    params:
      p: 0.9
  - name: VerticalFlip
val_before_apply_on_stages

With the following config:

augmentations:
  - name: Defocus
    apply_on_stages: ["train", "val"]
    params:
      p: 0.9
  - name: Sharpen
    params:
      p: 0.9
  - name: VerticalFlip

Augmentations are added to val:

val_after_apply_on_stages

Specification

Dependencies & Potential Impact

Deployment Plan

Testing & Validation

@dtronmans dtronmans requested a review from a team as a code owner April 29, 2026 09:52
@dtronmans dtronmans requested review from conorsim, klemen1999, kozlov721 and tersekmatija and removed request for a team April 29, 2026 09:52
@dtronmans dtronmans marked this pull request as draft April 29, 2026 09:53
@github-actions github-actions Bot added documentation Improvements or additions to documentation enhancement New feature or request tests Adding or changing tests CLI Changes affecting the CLI labels Apr 29, 2026
@dtronmans dtronmans marked this pull request as ready for review May 5, 2026 09:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLI Changes affecting the CLI documentation Improvements or additions to documentation enhancement New feature or request tests Adding or changing tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant