PyTorch Forums
File "C:\Anaconda\lib\site-packages\torch\nn\functional.py", line 2846, in cross_entropy return torch._C._nn.cross_entropy_loss(input, target, weight, _Reduction.get_enum(reduction), ignore_index, label_smoothing) ValueError: Expected input batch_
ptrblck
February 9, 2022, 4:06am
2
Are you hitting the same shape mismatch error as described in
this post
or is this a different one?
show post in topic