Skip to content

Whether the anomaly image will be involved in the validation process #1777

Closed

Description

@1094558673

Hello, I would like to ask whether the anomaly image will be involved in the validation process during training if the default parameter in config is followed, that is, whether there is anomaly data in the validation set.

test_split_mode: from_dir # options: [from_dir, synthetic]
test_split_ratio: 0.2 # fraction of train images held out testing (usage depends on test_split_mode)
val_split_mode: same_as_test # options: [same_as_test, from_test, synthetic]
val_split_ratio: 0.5 # fraction of train/test images held out for validation (usage depends on val_split_mode)

Activity

  1. rajeshgangireddy commented on May 12, 2025

    @rajeshgangireddy
    Contributor

    Hi @1094558673
    Yes, anomalous images are used for validation and evaluation but never for training.
    If you would like to know more about how train/test/val images are used in anomalib see this comment :
    #1067 (comment)

  2. locked and limited conversation to collaborators on May 12, 2025
  3. converted this issue into a discussion #2699 on May 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    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