Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions deepy3d/CNN_Model.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ def compile_single(self):
INPUT None
OUTPUT None
"""
print ' * Compiling single model...'
print (' * Compiling single model...')

# Configure network according to a sequential architecture
single = Sequential()
Expand Down Expand Up @@ -247,7 +247,7 @@ def predict_image(self, test_img, pred_dir, patch_size=(33, 33),
# Minimum intensity value of image
edge_value = np.min(imgs)

print 'The image to be predicted is of size', np.shape(imgs)
print('The image to be predicted is of size', np.shape(imgs))

# Padding with the same value as the values at the edge
imgs = np.pad(imgs, ((patch_step[0], patch_step[0]),
Expand Down