Open sytelus opened 5 years ago
This PR adds on the top of https://github.com/bearpaw/pytorch-classification/pull/9.
item()
torch.no_grad()
Thanks for the PR. I really appreciate your contribution of upgrading the code to Pytorch 0.4 and 1.0.
However, there is part of the contributions that I do not plan to include in this repo:
results
This PR adds on the top of https://github.com/bearpaw/pytorch-classification/pull/9.
item()
instead of [0] andtorch.no_grad()
).