Skip to content

Commit ab61ff1

Browse files
authored
Merge pull request meijieru#61 from Weihnachtswurst/master
Updated to work with pytorch 0.2.
2 parents 1b95b89 + 6d989b9 commit ab61ff1

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)