Skip to content

Commit

Permalink
refactor: remove redundant code
Browse files Browse the repository at this point in the history
  • Loading branch information
weiaicunzai committed Aug 8, 2020
1 parent 65dcbcb commit ae13c5e
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions test.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,6 @@
print(net)
net.eval()

if args.gpu:
net = net.cuda()

correct_1 = 0.0
correct_5 = 0.0
total = 0
Expand Down

0 comments on commit ae13c5e

Please sign in to comment.