Package examples.onnx.cv
Functions
preprocessing
Link copied to clipboard
fun preprocessing(resizeTo: Pair<Int, Int>, model: OnnxInferenceModel): Preprocessing
Content copied to clipboard
runImageRecognitionPrediction
Link copied to clipboard
fun runImageRecognitionPrediction(modelType: ONNXModels.CV<OnnxInferenceModel>)
Content copied to clipboard
runONNXAdditionalTraining
Link copied to clipboard
fun runONNXAdditionalTraining(modelType: ONNXModels.CV<out OnnxInferenceModel>, resizeTo: Pair<Int, Int> = Pair(224, 224))
Content copied to clipboard
This examples demonstrates the transfer learning concept on the Image Recognition model:
runONNXImageRecognitionPrediction
Link copied to clipboard
fun runONNXImageRecognitionPrediction(modelType: ONNXModels.CV<out OnnxInferenceModel>, resizeTo: Pair<Int, Int> = Pair(224, 224))
Content copied to clipboard