This will generate a pth file which has the same name as the tensorflow checkpoint.
Similar to v2.
(There is currently a mismatch between official mobilenetv2 model code and the official pretrained weights. The last layer in the conv_defs didn't do depth mutliplyication when multiplier is less than 1 according to the weights.)
Preprocessing:
The preoprocessing follows the tensorflow incecption: transforms.Normalize([0.5, 0.5, 0.5],[0.5, 0.5, 0.5]).
The current problem
To match the behavior of tensorflow slim conv2d, we manually calculate the paddings, this may lead to slower speed.