-
Notifications
You must be signed in to change notification settings - Fork 30
/
config.json
62 lines (61 loc) · 1.47 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
51
52
53
54
55
56
57
58
59
60
61
62
{
"General":{
"device":"cuda",
"type":"full",
"model_timm":"vit_base_patch16_384",
"emb_dim":768,
"hooks":[2, 5, 8, 11],
"read":"projection",
"resample_dim":256,
"optim":"adam",
"lr_backbone":1e-5,
"lr_scratch":3e-4,
"loss_depth":"ssi",
"loss_segmentation":"ce",
"momentum":0.9,
"epochs":20,
"batch_size":1,
"path_model":"models",
"path_predicted_images":"output",
"seed":0,
"patch_size":16
},
"Dataset":{
"paths":{
"path_dataset":"./datasets",
"list_datasets":["inria", "nyuv2", "posetrack"],
"path_images":"images",
"path_segmentations":"segmentations",
"path_depths":"depths"
},
"extensions":{
"ext_images":".jpg",
"ext_segmentations":".png",
"ext_depths":".jpg"
},
"splits":{
"split_train":0.6,
"split_val":0.2,
"split_test":0.2
},
"transforms":{
"resize":384,
"p_flip":0.5,
"p_crop":0.3,
"p_rot":0.2
},
"classes":{
"1": {
"name": "person",
"color": [150,5,61]
}
}
},
"wandb":{
"enable":false,
"username":"younesbelkada",
"images_to_show":3,
"im_h":540,
"im_w":980
}
}