MobileNetV2-pytorch icon indicating copy to clipboard operation
MobileNetV2-pytorch copied to clipboard

Automatic calculate the number of classes when training

Open zacario-li opened this issue 4 years ago • 0 comments

number of classes, here the net use 1000 as default, this line code, I suggest that, we can use len(train_loader.dataset.classes).

zacario-li avatar May 08 '20 07:05 zacario-li