[number of classes](https://github.com/Randl/MobileNetV2-pytorch/blob/master/imagenet.py#L117), here the net use 1000 as default, this line code, I suggest that, we can use `len(train_loader.dataset.classes)`.