Skip to content

Instantly share code, notes, and snippets.

@RyanKor
Created September 24, 2021 10:05
Show Gist options
  • Select an option

  • Save RyanKor/6832f627faa5ea775f401dec3107e41b to your computer and use it in GitHub Desktop.

Select an option

Save RyanKor/6832f627faa5ea775f401dec3107e41b to your computer and use it in GitHub Desktop.
# validation image show
for i, img_path in enumerate(val_file[:16]):
sp = plt.subplot(nrows, ncols, i + 1)
sp.axis('Off')
img = mpimg.imread(validation_dir + img_path)
plt.imshow(img)
plt.show()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment