Thank you Sebastian for your time,
I followed your advice and I  replaced the values u suggested, and I got this error : Expected object of type torch.LongTensor but found type torch.IntTensor for argument #2 ‘target’.