-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathconfig.py
28 lines (21 loc) · 862 Bytes
/
config.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
import os
MY_SLACK_TOKEN = ''
PROJECT = "C:\\Projects\\my_Glaucoma_project_v2"
IMAGE_LOC = os.path.join(PROJECT, "dataset", "Glaucoma")
MASK_LOC = os.path.join(PROJECT, "dataset", "Glaucoma", "mask_od")
TRAIN_IMAGE = os.path.join(IMAGE_LOC, 'Training400')
TEST_IMAGE = os.path.join(IMAGE_LOC, 'Test')
MASKING_TRAIN_IMAGE = os.path.join(MASK_LOC, 'GT', 'train')
MASKING_VAL_IMAGE = os.path.join(MASK_LOC, 'GT', 'val')
RESULT_PATH = os.path.join(PROJECT, "result")
SEGMENT_RESULT_PATH = os.path.join(PROJECT, "segment_result")
TRAIN_DATASET = os.path.join(PROJECT, "dataset", 'train.h5')
TEST_DATASET = os.path.join(PROJECT, "dataset", 'test.h5')
# LABEL
LABEL = {'Glaucoma': 1., 'Non-Glaucoma': 0.}
# Image shape to resahpe the image
# h,w, chennel
IMAGE_SHAPE = (256, 256, 3)
# orignal size (2056, 2124, 3)
INPUT_IMAGE_SHAPE = (256,512,3)
# (299, 299, 3)