Skip to content

Commit

Permalink
commit
Browse files Browse the repository at this point in the history
  • Loading branch information
a0405u committed Dec 29, 2020
1 parent 31d2902 commit 1837556
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lab3/lab3.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,8 @@ def process(image):

sub.set_title(str(classes[index]) + str(probability))
plt.axis('off')
plt.imshow(image.thumbnail((320, 240)))
image.thumbnail((320, 240))
plt.imshow(image)
plt.savefig('out/' + str(index) + '.png')
# plt.show()

Expand Down

0 comments on commit 1837556

Please sign in to comment.