seems this is the actual class that will be ignored, rather than the index of that class. so if your class is from 0 to num_class-1, then any negative ignore_index is equivalent, I’m too wondering why it is set to this particular value rather than a simple None