GKalliatakis / Keras-VGG16-places365

Keras code and weights files for the VGG16-places365 and VGG16-hybrid1365 CNNs for scene classification
MIT License
195 stars 76 forks source link

Is preprocess_input() used for image-mean subtraction? #20

Open huntkao opened 3 years ago

huntkao commented 3 years ago

where and when preprocess_input() in places_utils.py be explicitly called?

davidwdw commented 2 years ago

I have the same question. It seems that the example in the docs did not call preprocess input. Whereas tensorflow.keras.applications.vgg16 shows that you have to subtract the mean. Thanks!