-
Notifications
You must be signed in to change notification settings - Fork 54
/
Copy pathSETTINGS.py
23 lines (21 loc) · 978 Bytes
/
SETTINGS.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
import socket
if socket.gethostname() == 'Faramir': #for CNN_B
data_root = '/home/tencia/Documents/data/heart/'
data_kaggle = data_root + 'kaggle'
data_sunnybrook = data_root + 'sunnybrook'
local_root = '/home/tencia/Dropbox/heart/diagnose-heart/'
data_manual = local_root + 'manual_data'
data_intermediate = local_root + 'data_intermediate'
output_dir = local_root + 'CNN_A/output/'
tencia_output_dir = local_root + 'CNN_B/output/'
else: #for CNN_A
data_root = "/media/qiliu/share/heart/";
data_sunnybrook = data_root + '/sunnybrook';
data_kaggle = data_root;
local_dir = '/home/qiliu/Documents/Coding/heart/diagnose-heart/';
manual_data_root = local_dir + 'manual_data'
data_aug_contours = manual_data_root + '/manual_contours';
intermediate_dir = local_dir + 'CNN_A';
params_dir = intermediate_dir + '/params/'
output_dir = intermediate_dir + '/output/'
tencia_output_dir = local_dir + 'CNN_B/output'