rwightman / gen-efficientnet-pytorch

Pretrained EfficientNet, EfficientNet-Lite, MixNet, MobileNetV3 / V2, MNASNet A1 and B1, FBNet, Single-Path NAS
Apache License 2.0
1.57k stars 214 forks source link

mobilenetv3 model has low accuracy #33

Closed 205418367 closed 4 years ago

205418367 commented 4 years ago

I tested many mobilenetv3 models and got very low accuracy. What is the problem?

rwightman commented 4 years ago

Likely incorrect preprocessing, especially image mean/std for normalization. Not all models are the same. The TF mobilenetv3 uses inception preprocessing with 0.5 mean & std as per readme