PyTorch Forums
RuntimeError: tensors used as indices must be long or byte tensors
xxh
(εΎζζ)
September 4, 2020, 2:04am
1
RuntimeError: tensors used as indices must be long or byte tensors
Henry_Chibueze
(Ches Charlemagne)
September 4, 2020, 12:38pm
2
Change the datatype to torch.long