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 1a095ef commit 6f43ecd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lab3/lab3.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ def predict(image):

print("image processed in {}s".format(round(time.time() - timest, 3)))

return output.data.cpu().numpy().argmax(), probability
return output.data.cpu().numpy().argmax(), probability[output.data.cpu().numpy().argmax()]


# Process image
Expand Down

0 comments on commit 6f43ecd

Please sign in to comment.