-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathbase_config.json
47 lines (47 loc) · 1.04 KB
/
base_config.json
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
{
"name": "Baseline",
"root_dir": "/opt/ml/data1024",
"seed": 21,
"epochs": 250,
"early_stop": 10,
"save_interval": 1,
"log_interval": 20,
"is_wandb": false,
"is_debug": true,
"smp": {
"use": true,
"args": {
"encoder_name": "efficientnet-b7",
"encoder_weights": "imagenet",
"in_channels": 3,
"classes": 29
}
},
"dataset": "XRayDataset",
"augmentation": "BaseAugmentation",
"batch_size": 8,
"iters_to_accumulate": 1,
"model": "Unet",
"criterion": [
"combo_loss"
],
"optimizer": {
"type": "AdamW",
"args": {
"lr": 1e-4,
"weight_decay": 1e-5
}
},
"lr_scheduler": {
"type": "CosineAnnealingWarmupRestarts",
"args": {
"first_cycle_steps": 1000,
"cycle_mult": 2.0,
"max_lr": 1e-4,
"min_lr": 1e-5,
"warmup_steps": 50,
"gamma": 0.8
}
},
"num_workers": 4
}