Created
July 4, 2021 10:18
-
-
Save AmrutaKoshe/303eb0b3af94a7fd1361d9cc84d0a5cf to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Breed = 'dog breed/Akita dog' | |
import os | |
sub_class = os.listdir(Breed) | |
fig = plt.figure(figsize=(10,5)) | |
for e in range(len(sub_class[:10])): | |
plt.subplot(2,5,e+1) | |
img = plt.imread(os.path.join(Breed,sub_class[e])) | |
plt.imshow(img, cmap=plt.get_cmap('gray')) | |
plt.axis('off') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment