efficientNet4LitePrediction

fun efficientNet4LitePrediction()

This examples demonstrates the inference concept on EfficientNet4Lite model:

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

  • Model predicts on a few images located in resources.

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