Can i know how to prediction with python
zoster0828 opened this issue · comments
zoster0828 commented
Nolan Liu commented
please have a try with python 2.7/tf 1.12
wreed commented
You have to normalize the image input for mobilenet. So given an input image as a numpy array, you would need to do something like:
mean = np.array([0.485, 0.456, 0.406], dtype=np.float32)
std = np.array([0.229, 0.224, 0.225], dtype=np.float32)
img = img / 255. - mean
img = img / std
MIC10086 commented
How do you predict with this model?