inceptionV3Prediction

fun inceptionV3Prediction()

This examples demonstrates the inference concept on InceptionV3 model:

  • Model configuration, model weights and labels are obtained from TFModelHub.

  • Weights are loaded from .h5 file, configuration is loaded from .json file.

  • Model predicts on a few images located in resources.

  • Special preprocessing (used in InceptionV3 during training on ImageNet dataset) is applied to the images before prediction.

NOTE: Input resolution is 299*299