Skip to content
Discussion options

You must be logged in to vote

Hi, you could use the following dataset section in your config.yaml to train without anomalous images:

dataset:
  name: NAME
  format: folder
  path: F:/2022
  normal_dir: OK
  abnormal_dir: null
  normal_test_dir: null
  mask_dir: null
  extensions: null
  task: segmentation
  train_batch_size: 32
  eval_batch_size: 32
  num_workers: 8
  image_size: 256 # dimensions to which images are resized (mandatory)
  center_crop: null # dimensions to which images are center-cropped after resizing (optional)
  normalization: imagenet # data distribution to which the images will be normalized: [none, imagenet]
  transform_config:
    train: null
    eval: null
  test_split_mode: none # options: [fro…

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by samet-akcay
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants
Converted from issue

This discussion was converted from issue #931 on August 15, 2023 10:03.