Skip to content

Commit 40964ad

Browse files
committed
update data configs
1 parent b09b123 commit 40964ad

9 files changed

+0
-45
lines changed

configs/data/avenue.yaml

-5
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,9 @@ init_args:
55
clip_length_in_frames: 1
66
frames_between_clips: 1
77
target_frame: last
8-
image_size: [256, 256]
9-
center_crop: null
10-
normalization: imagenet
118
train_batch_size: 32
129
eval_batch_size: 32
1310
num_workers: 8
14-
transform_config_train: null
15-
transform_config_eval: null
1611
val_split_mode: from_test
1712
val_split_ratio: 0.5
1813
seed: null

configs/data/btech.yaml

-5
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,9 @@ class_path: anomalib.data.BTech
22
init_args:
33
root: "./dtasets/BTech"
44
category: "01"
5-
image_size: [256, 256]
6-
center_crop: null
7-
normalization: imagenet
85
train_batch_size: 32
96
eval_batch_size: 32
107
num_workers: 8
11-
transform_config_train: null
12-
transform_config_eval: null
138
test_split_mode: from_dir
149
test_split_ratio: 0.2
1510
val_split_mode: same_as_test

configs/data/folder.yaml

-5
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,10 @@ init_args:
88
mask_dir: "ground_truth/broken_large"
99
normal_split_ratio: 0
1010
extensions: [".png"]
11-
image_size: [256, 256]
12-
center_crop: null
13-
normalization: imagenet
1411
train_batch_size: 32
1512
eval_batch_size: 32
1613
num_workers: 8
1714
task: segmentation
18-
transform_config_train: null
19-
transform_config_eval: null
2015
test_split_mode: from_dir
2116
test_split_ratio: 0.2
2217
val_split_mode: same_as_test

configs/data/kolektor.yaml

-5
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,9 @@
11
class_path: anomalib.data.Kolektor
22
init_args:
33
root: "./datasets/kolektor"
4-
image_size: [256, 256]
5-
center_crop: null
6-
normalization: imagenet
74
train_batch_size: 32
85
eval_batch_size: 32
96
num_workers: 8
10-
transform_config_train: null
11-
transform_config_eval: null
127
test_split_mode: from_dir
138
test_split_ratio: 0.2
149
val_split_mode: same_as_test

configs/data/mvtec.yaml

-5
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,10 @@ class_path: anomalib.data.MVTec
22
init_args:
33
root: ./datasets/MVTec
44
category: bottle
5-
image_size: [256, 256]
6-
center_crop: null
7-
normalization: imagenet
85
train_batch_size: 32
96
eval_batch_size: 32
107
num_workers: 8
118
task: segmentation
12-
transform_config_train: null
13-
transform_config_eval: null
149
test_split_mode: from_dir
1510
test_split_ratio: 0.2
1611
val_split_mode: same_as_test

configs/data/mvtec_3d.yaml

-5
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,9 @@ class_path: anomalib.data.MVTec3D
22
init_args:
33
root: ./datasets/MVTec3D
44
category: "bagel"
5-
image_size: [256, 256]
6-
center_crop: null
7-
normalization: imagenet
85
train_batch_size: 32
96
eval_batch_size: 32
107
num_workers: 8
11-
transform_config_train: null
12-
transform_config_eval: null
138
test_split_mode: from_dir
149
test_split_ratio: 0.2
1510
val_split_mode: same_as_test

configs/data/shanghaitec.yaml

-5
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,9 @@ init_args:
55
clip_length_in_frames: 1
66
frames_between_clips: 1
77
target_frame: LAST
8-
image_size: [256, 256]
9-
center_crop: null
10-
normalization: imagenet
118
train_batch_size: 32
129
eval_batch_size: 32
1310
num_workers: 8
14-
transform_config_train: null
15-
transform_config_eval: null
1611
val_split_mode: FROM_TEST
1712
val_split_ratio: 0.5
1813
seed: null

configs/data/ucsd_ped.yaml

-5
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,9 @@ init_args:
55
clip_length_in_frames: 2
66
frames_between_clips: 10
77
target_frame: LAST
8-
image_size: [256, 256]
9-
center_crop: null
10-
normalization: imagenet
118
train_batch_size: 8
129
eval_batch_size: 1
1310
num_workers: 8
14-
transform_config_train: null
15-
transform_config_eval: null
1611
val_split_mode: FROM_TEST
1712
val_split_ratio: 0.5
1813
seed: null

configs/data/visa.yaml

-5
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,9 @@ class_path: anomalib.data.Visa
22
init_args:
33
root: "./datasets/visa"
44
category: "capsules"
5-
image_size: [256, 256]
6-
center_crop: null
7-
normalization: imagenet
85
train_batch_size: 32
96
eval_batch_size: 32
107
num_workers: 8
11-
transform_config_train: null
12-
transform_config_eval: null
138
test_split_mode: from_dir
149
test_split_ratio: 0.2
1510
val_split_mode: same_as_test

0 commit comments

Comments
 (0)