Merge pull request #348 from pleaseRedo/master
Update utils.py. minor fix Former-commit-id: 1c736851c43aceb70f49f6e444f1e22a377ec59d
This commit is contained in:
commit
c1c7c952aa
|
@ -9,7 +9,7 @@ def plot_img_and_mask(img, mask):
|
|||
if classes > 1:
|
||||
for i in range(classes):
|
||||
ax[i + 1].set_title(f'Output mask (class {i + 1})')
|
||||
ax[i + 1].imshow(mask[:, :, i])
|
||||
ax[i + 1].imshow(mask[1, :, :])
|
||||
else:
|
||||
ax[1].set_title(f'Output mask')
|
||||
ax[1].imshow(mask)
|
||||
|
|
Loading…
Reference in a new issue