`main_binary.py:234: UserWarning: volatile was removed and now has no effect. Use with torch.no_grad(): instead.
input_var = Variable(inputs.type(args.type), volatile=not training)
`
And I fix some mistake about the Hinge loss label given and Net output dim.
I fix some mistake due to deprecated usage. Here some error fixed :
`
IndexError: invalid index of a 0-dim tensor. Use tensor.item() to convert a 0-dim tensor to a Python number`
`
File "main_binary.py", line 233 target = target.cuda(async=True) ^ SyntaxError: invalid syntax`
`
main_binary.py:234: UserWarning: volatile was removed and now has no effect. Use with torch.no_grad(): instead. input_var = Variable(inputs.type(args.type), volatile=not training)`
And I fix some mistake about the Hinge loss label given and Net output dim.