Skip to content

Commit

Permalink
Release 0.3 version
Browse files Browse the repository at this point in the history
  • Loading branch information
zaleslaw committed Sep 24, 2021
1 parent d2db4a9 commit 49fee18
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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]}")
Expand Down

0 comments on commit 49fee18

Please sign in to comment.