-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathtarget.py
41 lines (36 loc) · 894 Bytes
/
target.py
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
import os
sep = os.sep
resize = (896, 896)
DDR_TRAIN = {
"name": "DDR_train",
'patch_shape': (388, 388),
'patch_offset': (300, 300),
'expand_by': (184, 184),
"data_dir": "DDR" + sep + "DR_grading" + sep + "train",
"extension": "jpg",
"bbox_crop": True,
'resize': resize,
'thr_manual': 50
}
DDR_VALID = {
"name": "DDR_valid",
'patch_shape': (388, 388),
'patch_offset': (300, 300),
'expand_by': (184, 184),
"data_dir": "DDR" + sep + "DR_grading" + sep + "valid",
"extension": "jpg",
"bbox_crop": True,
'resize': resize,
'thr_manual': 50
}
DDR_TEST = {
"name": "DDR_test",
'patch_shape': (388, 388),
'patch_offset': (300, 300),
'expand_by': (184, 184),
"data_dir": "DDR" + sep + "DR_grading" + sep + "test",
"extension": "jpg",
"bbox_crop": True,
'resize': resize,
'thr_manual': 50
}