Skip to content

Commit 6d989b9

Browse files
Updated to work with pytorch 0.2.
1 parent 1b95b89 commit 6d989b9

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

demo.py

-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@
3131
preds = model(image)
3232

3333
_, preds = preds.max(2)
34-
preds = preds.squeeze(2)
3534
preds = preds.transpose(1, 0).contiguous().view(-1)
3635

3736
preds_size = Variable(torch.IntTensor([preds.size(0)]))

0 commit comments

Comments
 (0)