tonylins / pytorch-mobilenet-v2

A PyTorch implementation of MobileNet V2 architecture and pretrained model.
Apache License 2.0
1.37k stars 328 forks source link

How do you preprocess your data? #8

Closed guicunbin closed 6 years ago

guicunbin commented 6 years ago

my preprocess is:

(1) firstly, resize to 256x256; (2) secondly, Subtract the imagenet mean, then divided by 256; (3) finally, center crop to 224x224;

then feed these validation data to your mobilenet_v2, but I didn't reach your accuracy.