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 4f447fa commit e163ef3
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 @@ -93,7 +93,7 @@ def predict(image):
#output = model_trt(input)
output = model(input)

probability torch.nn.functional.softmax(output, dim = 1)
probability = torch.nn.functional.softmax(output, dim = 1)

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

Expand Down

0 comments on commit e163ef3

Please sign in to comment.