Hello, I am trying to train a custom database that I created and my labels are  in the following format: 10988, 10995,10995, etc.
So, I’m getting the next error
Engine run is terminating due to exception: y_pred contains less classes than y. Number of predicted classes is 12 and element in y has invalid class = 10999..

So, if I check the documentations
if y.max() + 1 > num_classes:
                raise ValueError(
                    "y_pred contains less classes than y. Number of predicted classes is {}"
                    " and element in y has invalid class = {}.".format(num_classes, y.max().item() + 1)
                )

What I think is that pytorch wants my labels to be in the format 0,1,2,3,4,5,6,7,8,9,10,11
Is there a way I can fix this without changing my database’s labels?
Thanks in advance