Package examples.transferlearning

Functions

getFileFromResource
Link copied to clipboard
fun getFileFromResource(fileName: String): File

Converts resource string path to the file.

runImageRecognitionPrediction
Link copied to clipboard
fun runImageRecognitionPrediction(modelType: TFModels.CV<out GraphTrainableModel>, resizeTo: Pair<Int, Int> = Pair(224, 224))
runImageRecognitionTransferLearning
Link copied to clipboard
fun runImageRecognitionTransferLearning(modelType: TFModels.CV<out GraphTrainableModel>, epochs: Int = 2)
fun runImageRecognitionTransferLearningOnTopModel(modelType: TFModels.CV<out GraphTrainableModel>, epochs: Int = 2)