-
Notifications
You must be signed in to change notification settings - Fork 30
/
Copy pathconfigs.yaml
54 lines (45 loc) · 839 Bytes
/
configs.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
EXP_NAME: MemSeg
SEED: 42
DATASET:
datadir: /datasets/MVTec
texture_source_dir: /datasets/dtd/images
anomaly_mask_info: ./anomaly_mask.json
target: null
resize:
- 288
- 288
imagesize: 256
structure_grid_size: 8
transparency_range:
- 0.15 # under bound
- 1. # upper bound
perlin_scale: 6
min_perlin_scale: 0
perlin_noise_threshold: 0.5
DATALOADER:
batch_size: 8
num_workers: 0
MEMORYBANK:
nb_memory_sample: 30
MODEL:
feature_extractor_name: resnet18
TRAIN:
batch_size: 8
num_training_steps: 5000
l1_weight: 0.6
focal_weight: 0.4
focal_alpha: null
focal_gamma: 4
use_wandb: True
OPTIMIZER:
lr: 0.003
weight_decay: 0.0005
SCHEDULER:
min_lr: 0.0001
warmup_ratio: 0.1
use_scheduler: True
LOG:
log_interval: 1
eval_interval: 100
RESULT:
savedir: ./saved_model