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]}")