I am using resnet50 on imagenet 2017 dataset from here: http://image-net.org/challenges/LSVRC/2017/ 6
It seems that the “target”, i.e. the labels, are numbered from 1 to 1000. Are we supposed to convert the labels so that they lie in the range [0,999]? If that is the case, do we simply subtract 1 from the original labels, i.e. by using the following command,
  target = (target - torch.ones(bsz).type(torch.LongTensor)).cuda()

? Thanks