examples icon indicating copy to clipboard operation
examples copied to clipboard

Update the resize dimension for TestActivity

Open PraveenkumarKanwat opened this issue 6 years ago • 4 comments

The Model which you are using in this example takes input 257x257(https://github.com/tensorflow/examples/blob/master/lite/examples/posenet/android/posenet/download.gradle#L2) image whereas it is 257x353 here. Which was throwing java.lang.IllegalArgumentException: Cannot convert between a TensorFlowLite buffer with 792588 bytes and a ByteBuffer with 1088652 bytes error.

PraveenkumarKanwat avatar Oct 21 '19 20:10 PraveenkumarKanwat

Thanks for your pull request. It looks like this may be your first contribution to a Google open source project (if not, look below for help). Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

:memo: Please visit https://cla.developers.google.com/ to sign.

Once you've signed (or fixed any issues), please reply here with @googlebot I signed it! and we'll verify it.


What to do if you already signed the CLA

Individual signers
Corporate signers

ℹ️ Googlers: Go here for more info.

googlebot avatar Oct 21 '19 20:10 googlebot

@googlebot I signed it!

PraveenkumarKanwat avatar Oct 21 '19 20:10 PraveenkumarKanwat

CLAs look good, thanks!

ℹ️ Googlers: Go here for more info.

googlebot avatar Oct 21 '19 20:10 googlebot

The automatic pull may fail, and it has been added manually now. Thank you for the PR! I will close it.

lintian06 avatar Apr 17 '20 02:04 lintian06