-
Notifications
You must be signed in to change notification settings - Fork 354
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
Null check operator used on a null value in the method interpreter.run([input], [output]); #234
Comments
If your input is not a single tensor, try use |
I also encountered the same issue, but for object detection models. I am following the example in the tflite_flutter repo. After playing around a bit, I realized my outputs are null beyond index 0. Is there something I am missing?
and here is the runInference method
|
I believe it's a bug with the code, I forked and fixed. The problem is it's trying to load a single buffer for each input even though there's multiple buffers for the output, so runForMultiple is expecting something like
But Object detection is
I forked and fixed for my purposes, but hope that helps. This repo is no longer maintained and the TF team at Google has a new repo, though the fix isn't there yet either... |
Im newbie to Tensorflow world, I learned tutorial and creat such method for text embedding, the print looks ok like this:
Here is my method:
But now I met error:
I have no idea where is this error from, here is how I use this metho, the model I tried mobilebert_1_default.tflite and albert_lite_base_squadv1_1.tflite and lite-model_universal-sentence-encoder-qa-ondevice.tflite for text embedding, all of them have this error
The text was updated successfully, but these errors were encountered: