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 1837556 commit f0e4108
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 @@ -94,7 +94,7 @@ def predict(image):
output = model(input)

sm = torch.nn.Softmax()
probability = sm(output)
probability = sm(output, dim = 1)

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

Expand Down

0 comments on commit f0e4108

Please sign in to comment.