From 49fee182cd017ee139e613645670714f5d91084e Mon Sep 17 00:00:00 2001 From: Alexey Zinoviev Date: Fri, 24 Sep 2021 15:10:28 +0300 Subject: [PATCH] Release 0.3 version --- build.gradle | 2 +- .../kotlin/examples/onnx/cv/efficicentnet/EfficientNet.kt | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/build.gradle b/build.gradle index 60df86d63..a21895017 100644 --- a/build.gradle +++ b/build.gradle @@ -10,7 +10,7 @@ apply from: project.rootProject.file('gradle/dokka.gradle') allprojects { group = 'org.jetbrains.kotlinx' - version = '0.3.0-alpha-5' + version = '0.3.0' apply plugin: "maven" apply plugin: "kotlin" diff --git a/examples/src/main/kotlin/examples/onnx/cv/efficicentnet/EfficientNet.kt b/examples/src/main/kotlin/examples/onnx/cv/efficicentnet/EfficientNet.kt index 195888a77..e3ee7f145 100644 --- a/examples/src/main/kotlin/examples/onnx/cv/efficicentnet/EfficientNet.kt +++ b/examples/src/main/kotlin/examples/onnx/cv/efficicentnet/EfficientNet.kt @@ -41,8 +41,8 @@ fun efficientNet4LitePrediction() { } } - // TODO: currently, the whole model is loaded but not used for prediction, the preprocessing is used only - val inputData = modelType.preprocessInput(preprocessing) // TODO: to preprocessInput(preprocessing) + + val inputData = modelType.preprocessInput(preprocessing) val res = it.predict(inputData) println("Predicted object for image$i.jpg is ${imageNetClassLabels[res]}")