-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathDataset_List.py
36 lines (33 loc) · 1022 Bytes
/
Dataset_List.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
class DatasetParameters:
def __init__(self, dataset):
self.dataset = dataset
self.parameters = self.get_parameters()
def get_parameters(self):
dataset_params = {
"Stroma": {
"roi_size": [384,384],
"input_dim": 3,
"num_classes": 1,
"crop" : False,
},
"CORN_3_cell": {
"roi_size": [384,384],
"input_dim": 3,
"num_classes": 1,
"crop" : False
},
"CORN_3": {
"roi_size": [384,384],
"input_dim": 3,
"num_classes": 1,
"crop" : False
},
"CORN1": {
"roi_size": [384,384],
"dialated_pixels_list": [6,5,4,3,2,1,0.1],
"input_dim": 3,
"num_classes": 1,
"crop" : False
}
}
return dataset_params.get(self.dataset, {})