[637b40]: / adpkd_segmentation / data / data_config.py

Download this file

23 lines (16 with data), 562 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
from pathlib import Path
# adapt the file for actual data locations
dataroot = Path("data")
labeled_dirs = [dataroot / "processed"]
unlabeled_dirs = [
dataroot / "unlabelled_data"
] # unused currently for purely supervised training approach
# modify for custom symbolic link locations
LABELED = None
UNLABELED = None
# default location
script_location = Path(__file__).resolve()
if LABELED is None:
LABELED = script_location.parent.parent.parent / "labeled"
if UNLABELED is None:
UNLABELED = script_location.parent.parent.parent / "unlabeled"