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

Proper data type support for updated version of TF Lite #225

Open
phildow opened this issue May 25, 2021 · 1 comment
Open

Proper data type support for updated version of TF Lite #225

phildow opened this issue May 25, 2021 · 1 comment

Comments

@phildow
Copy link
Contributor

phildow commented May 25, 2021

I'm seeing a number of these errors:

There was a problem writing the data buffer to the tensor, error: Error Domain=org.tensorflow.lite.interpreter Code=1 "Input tensor at index (0) expects data size (8), but got (4)." UserInfo={NSLocalizedDescription=Input tensor at index (0) expects data size (8), but got (4).}

Hypothesis 1: Trying to write int32s to int64 inputs. Are int64s supported in the updated version of TF Lite?

@phildow
Copy link
Contributor Author

phildow commented May 26, 2021

We are adding support for int32 and int64, which are also supported by our full TF models.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant