resnet18LightAPIPrediction

fun resnet18LightAPIPrediction()

This examples demonstrates the light-weight inference API with ImageRecognitionModel on ResNet'18 model:

  • Model is obtained from ONNXModelHub.

  • Model predicts on a few images located in resources.