-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.json
50 lines (46 loc) · 1.05 KB
/
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
48
49
50
{
"name": "ImagePatchClassifier_TinyNet",
"n_gpu": 1,
"arch": {
"type": "ImagePatchClassifier",
"args": {}
},
"data_loader": {
"type": "COWCDataLoader",
"args":{
"data_dir": "/home/jakaria/Super_Resolution/Datasets/COWC/DetectionPatches_256x256/Potsdam_ISPRS/Train-Mixed-class-2/",
"batch_size": 1,
"shuffle": true,
"validation_split": 0.1,
"num_workers": 2
}
},
"optimizer": {
"type": "SGD",
"args":{
"lr": 0.0001,
"weight_decay": 0,
"momentum": 0.9
}
},
"loss": "cross_entropy",
"metrics": [
"accuracy"
],
"lr_scheduler": {
"type": "StepLR",
"args": {
"step_size": 50,
"gamma": 0.1
}
},
"trainer": {
"epochs": 100,
"save_dir": "saved/",
"save_period": 1,
"verbosity": 2,
"monitor": "min val_loss",
"early_stop": 10,
"tensorboard": true
}
}