Skip to content

Commit a38467b

Browse files
StephanieLarocquenotoraptor
authored andcommitted
relative paths
1 parent c409e17 commit a38467b

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

code/cnn_1D_segm/fcn1D.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,4 @@ def build_model(input_var,
106106

107107

108108
return [net[l] for l in ['last_layer']], net
109-
110109
# end-snippet-output
111-

code/cnn_1D_segm/train_fcn1D.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,10 +66,10 @@ def jaccard(y_pred, y_true, n_classes, one_hot=False):
6666

6767
return T.stack([num, denom], axis=0)
6868

69+
SAVEPATH = 'save_models/'
70+
LOADPATH = SAVEPATH
71+
WEIGHTS_PATH = SAVEPATH
6972

70-
SAVEPATH = '/Tmp/larocste/cortical_layers'
71-
LOADPATH = '/data/lisatmp4/larocste/cortical_layers'
72-
WEIGHTS_PATH = LOADPATH
7373

7474

7575
# In[22]:

0 commit comments

Comments
 (0)