-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpreconstants.py
46 lines (41 loc) · 921 Bytes
/
preconstants.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
42
43
44
45
46
from pathlib import Path
INB_DATA_DIR = Path("")
INB_MASTER_CSV = ''
INB_TRAIN_DIR = INB_DATA_DIR / 'train'
INB_TEST_DIR = INB_DATA_DIR / 'test'
INB_VALID_DIR = INB_DATA_DIR / 'valid'
# INB_5x200 = INB_DATA_DIR / "inb_5x200.csv"
INB_VALID_NUM = 10
INB_PATH_COL = "File_path"
INB_SPLIT_COL = "split"
INB_REPORT_COL = "conclusie"
INB_COMPETITION_TASKS = [
"pathology",
"pathology2",
]
INB_CLASS_PROMPTS = {
"pathology":{
"location": [
"central",
"right",
"left",
"axillary",
],
"describ": [
"abnormal",
"suspected",
"asymmetry"
],
"subtype": [
"mass",
"malignancy",
"leision",
"carcinoma",
],
"severity": [
"birads4",
"birads5",
"birads6",
"malignant"],
},
}