mirror of
https://github.com/hanzoai/anomalib.git
synced 2026-10-30 18:48:11 +00:00
The previous commit was meant to remove .github/workflows and removed every tracked path instead — 892 files, the whole repo. This puts back the 874 that were never in scope; the eighteen workflow files stay gone, for the reasons that commit gives. Content is byte-identical to 9d2aec9 outside .github/workflows.
40 lines
1.1 KiB
YAML
40 lines
1.1 KiB
YAML
class_path: anomalib.data.MVTecAD
|
|
init_args:
|
|
root: ./datasets/MVTecAD
|
|
category: bottle
|
|
image_size: [256, 256]
|
|
train_batch_size: 32
|
|
eval_batch_size: 32
|
|
num_workers: 8
|
|
task: segmentation
|
|
test_split_mode: from_dir
|
|
test_split_ratio: 0.2
|
|
val_split_mode: same_as_test
|
|
val_split_ratio: 0.5
|
|
seed: null
|
|
eval_transform:
|
|
class_path: torchvision.transforms.v2.Compose
|
|
init_args:
|
|
transforms:
|
|
- class_path: torchvision.transforms.v2.RandomHorizontalFlip
|
|
init_args:
|
|
p: 0.5
|
|
- class_path: torchvision.transforms.v2.Resize
|
|
init_args:
|
|
size: [256, 256]
|
|
- class_path: torchvision.transforms.v2.Normalize
|
|
init_args:
|
|
mean: [0.485, 0.456, 0.406]
|
|
std: [0.229, 0.224, 0.225]
|
|
train_transform:
|
|
class_path: torchvision.transforms.v2.Compose
|
|
init_args:
|
|
transforms:
|
|
- class_path: torchvision.transforms.v2.Resize
|
|
init_args:
|
|
size: [256, 256]
|
|
- class_path: torchvision.transforms.v2.Normalize
|
|
init_args:
|
|
mean: [0.485, 0.456, 0.406]
|
|
std: [0.229, 0.224, 0.225]
|