Skip to content

Commit 1adcc24

Browse files
StephanieLarocquenotoraptor
authored andcommitted
small change
1 parent c1a2b19 commit 1adcc24

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

code/cnn_1D_segm/train_fcn1D.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,6 @@ def jaccard(y_pred, y_true, n_classes, one_hot=False):
269269

270270

271271

272-
273272
# Training main loop
274273
print "Start training"
275274

code/unet/train_unet.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ def train(dataset, learn_step=0.005,
157157
if batch_size is not None:
158158
bs = batch_size
159159
else:
160-
bs = [1, 1, 1]
160+
bs = [10, 1, 1]
161161

162162
train_iter, val_iter, test_iter = \
163163
load_data(dataset, data_augmentation,
@@ -360,7 +360,7 @@ def main():
360360
help='Max patience')
361361
parser.add_argument('-batch_size',
362362
type=int,
363-
default=[1, 1, 1],
363+
default=[10, 1, 1],
364364
help='Batch size [train, val, test]')
365365
parser.add_argument('-data_augmentation',
366366
type=dict,

0 commit comments

Comments
 (0)