ssdCudaInference

fun ssdCudaInference()

This example demonstrates how to infer SSD model using inferAndCloseUsing scope function:

  • Model is obtained from ONNXModelHub.

  • Model performs classification of a few images located in resources using CUDA execution provider.

  • Internal onnx session is closed automatically after inference lambda is executed.