target is 1x1, applied the view.      Misread the docs, but then I got a cuda runtime error device side assert, so I removed the cuda use temporarily and
RuntimeError: Assertion 'cur_target >=0 && cur_target < n_classes failed.
These are the targets of my actual dataset:
0
2
2
2
3
0
2
2
0
2
0
0
0
0
0
2
2
0
2
2
[torch.LongTensor of size 20]
I find this curiously difficult seeing as how little relative trouble I had in lua torch.
I’m going to try to upgrade.