Skip to content

Commit

Permalink
Removed prints
Browse files Browse the repository at this point in the history
  • Loading branch information
manole-alexandru committed Apr 8, 2023
1 parent a2a2b1f commit cd1ffae
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion train.py
Original file line number Diff line number Diff line change
Expand Up @@ -532,7 +532,7 @@ def parse_opt(known=False):


def main(opt, callbacks=Callbacks()):
print('\n---------- VERSION:', '#0010', '----------\n')
print('\n---------- VERSION:', '#0011', '----------\n')
# Checks
if RANK in {-1, 0}:
print_args(vars(opt))
Expand Down
2 changes: 1 addition & 1 deletion utils/plots.py
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ def plot_masks(segs, seg_preds, fname='mask.jpg', fname_real='real.jpg'):
bs, _, h, w = segs.shape # batch size, _, height, width
bs = min(bs, max_subplots) # limit plot images
ns = np.ceil(bs ** 0.5) # number of subplots (square)
print('\n--------------NS: ', ns, '------------\n')
# print('\n--------------NS: ', ns, '------------\n')

mosaic = np.full((int(ns * h), int(ns * w)), 255, dtype=np.uint8) # init
for i, seg_pred in enumerate(seg_preds):
Expand Down

0 comments on commit cd1ffae

Please sign in to comment.