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

Tensorflow Operation Failed for EMNIST Balanced #24

Closed
fazil47 opened this issue May 23, 2020 · 3 comments
Closed

Tensorflow Operation Failed for EMNIST Balanced #24

fazil47 opened this issue May 23, 2020 · 3 comments
Labels
custom model wontfix This will not be worked on

Comments

@fazil47
Copy link

fazil47 commented May 23, 2020

EMNIST TFlite model for letters and numbers
The model I'm using has 47 output classes, but when I set the length of the outputs to 47 I'm getting a tensorflow lite operation failed error

image

Error:
xception: TensorFlowLite operation failed.
TensorFlowLite.Interpreter.ThrowIfError (System.Int32 resultCode) (at Assets/TensorFlowLite/SDK/Scripts/Interpreter.cs:196)
TensorFlowLite.Interpreter.GetOutputTensorData (System.Int32 outputTensorIndex, System.Array outputTensorData) (at Assets/TensorFlowLite/SDK/Scripts/Interpreter.cs:147)
TextClassifier.Infer (UnityEngine.RenderTexture texture) (at Assets/Scenes/Text Classifier/TextClassifier.cs:78)
LineDrawer+d__24.MoveNext () (at Assets/Scenes/Text Classifier/LineDrawer.cs:161)
UnityEngine.SetupCoroutine.InvokeMoveNext (System.Collections.IEnumerator enumerator, System.IntPtr returnValueAddress) (at <480508088aee40cab70818ff164a29d5>:0)

@asus4
Copy link
Owner

asus4 commented May 24, 2020

It looks like the bug of the TFLite library. Could you test it in the native TFLite (iOS or Android)?

@fazil47
Copy link
Author

fazil47 commented May 24, 2020

I couldn't check on android/ios because I don't know how, but the tflite model does work on windows.
Link to my project

@stale
Copy link

stale bot commented Apr 8, 2021

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix This will not be worked on label Apr 8, 2021
@stale stale bot closed this as completed Apr 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
custom model wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

2 participants