PyTorch Forums
IndexError: Target 2 is out of bounds
vision
ptrblck
April 16, 2020, 7:09pm
13
This should work:
tensor_train_y = tensor_train_y - 1 tensor_test_y = tensor_test_y - 1
1 Like
show post in topic