-
Notifications
You must be signed in to change notification settings - Fork 0
/
params.py
31 lines (20 loc) · 915 Bytes
/
params.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
import os
import yaml
from utils import get_config
config = get_config()
EXPERIMENT_NAME = config["EXPERIMENT_NAME"]
BASE_PATH = config["BASE_PATH"]
DATA_PATH = os.path.join(BASE_PATH, "data")
RESULTS_PATH = os.path.join(BASE_PATH, "results")
EXPERIMENT_PATH = os.path.join(RESULTS_PATH, EXPERIMENT_NAME)
MORPHOLOGICAL_CSV_PATH = os.path.join(EXPERIMENT_PATH, "csv/morphology")
TOPOLOGICAL_CSV_PATH = os.path.join(EXPERIMENT_PATH, "csv/topology")
VISUALIZATION_WSI_PATH = os.path.join(EXPERIMENT_PATH, "vizualization/wsis")
VISUALIZATION_GRAPH_PATH = os.path.join(EXPERIMENT_PATH, "vizualization/graphs")
WSI_ID = config["WSI_ID"]
MORPHOLOGICAL_PROPERTIES = config['MORPHOLOGICAL_PROPERTIES']
CENTROID_ID = config['CENTROID_ID']
VISUALIZATION_CENTROID = config['VISUALIZATION_CENTROID']
VISUALIZATION_GRAPH = config['VISUALIZATION_GRAPH']
GRAPH = config['GRAPH']
UNET_THRESHOLD = config['UNET_THRESHOLD']