Hello Over!



 over9k:

Is there any requirement for labels for start from 0 all the way to 1, 2, 3, number of classes?


Well, it depends on what you do with the labels.
In the common case that you use CrossEntropyLoss 8 as your loss
function, per its documentation, your labels (the target) must be
integer class labels that run from [0, nClass - 1], inclusive.  That
is, the labels start from 0.
Best.
K. Frank