-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathconfig.yaml
76 lines (72 loc) · 1.66 KB
/
config.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
params:
device: cuda:0
category: bottle
height: 224
width: 224
normalize_mean: [0.485, 0.456, 0.406]
normalize_std: [0.229, 0.224, 0.225]
batch_size: 4
num_embedding: 550
tracking_uri: databricks
experiment_name: /Users/inoue@nablas.com/MVTec
run_name: PaDiM
model:
name: padim.models - WideResNet50
args:
transform:
train:
- name: albumentations - Resize
args:
height: ${params.height}
width: ${params.width}
p: 1
- name: albumentations - Normalize
args:
mean: ${params.normalize_mean}
std: ${params.normalize_std}
p: 1
- name: albumentations.pytorch - ToTensorV2
args:
p: 1
test:
- name: albumentations - Resize
args:
height: ${params.height}
width: ${params.width}
p: 1
- name: albumentations - Normalize
args:
mean: ${params.normalize_mean}
std: ${params.normalize_std}
p: 1
- name: albumentations.pytorch - ToTensorV2
args:
p: 1
dataset:
train:
name: mvtec.datasets - MVTecDataset
args:
data_dir: /data
data_type: train
category: ${params.category}
test:
name: mvtec.datasets - MVTecDataset
args:
data_dir: /data
data_type: test
category: ${params.category}
dataloader:
train:
name: torch.utils.data - DataLoader
args:
batch_size: ${params.batch_size}
num_workers: ${params.batch_size}
pin_memory: true
shuffle: true
test:
name: torch.utils.data - DataLoader
args:
batch_size: ${params.batch_size}
num_workers: ${params.batch_size}
pin_memory: true
shuffle: true