Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added new models to ModelHub: PoseNet and EfficientDet family #317

Merged
merged 20 commits into from
Jan 12, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fixed tests
zaleslaw committed Dec 23, 2021
commit 00c65c71fe31ad556641c4e2a1daee8be56e2882
Original file line number Diff line number Diff line change
@@ -86,7 +86,7 @@ class PoseDetectionTestSuite {

val yhat = it.predictRaw(inputData)

val rawPoseLandMarks = (yhat as List<Array<Array<Array<FloatArray>>>>)[0][0][0]
val rawPoseLandMarks = (yhat["output_0"] as Array<Array<Array<FloatArray>>>)[0][0]

assertEquals(17, rawPoseLandMarks.size)
}
@@ -118,7 +118,7 @@ class PoseDetectionTestSuite {

val yhat = it.predictRaw(inputData)

val rawPoseLandMarks = (yhat as List<Array<Array<Array<FloatArray>>>>)[0][0][0]
val rawPoseLandMarks = (yhat["output_0"] as Array<Array<Array<FloatArray>>>)[0][0]

assertEquals(17, rawPoseLandMarks.size)
}