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

ValueError: Invalid tensors 'input' were found. #3

Open
md-rifatkhan opened this issue Dec 14, 2023 · 0 comments
Open

ValueError: Invalid tensors 'input' were found. #3

md-rifatkhan opened this issue Dec 14, 2023 · 0 comments

Comments

@md-rifatkhan
Copy link

All works fine till using

converter = tf.compat.v1.lite.TFLiteConverter.from_saved_model(pb_path,
                                                      input_arrays=input_nodes,
                                                      output_arrays=output_nodes,
                                                               )
tflite_rep = converter.convert()

log

[/usr/local/lib/python3.10/dist-packages/tensorflow/lite/python/util.py](https://localhost:8080/#) in get_tensors_from_tensor_names(graph, tensor_names)
    164   # Throw ValueError if any user input names are not valid tensors.
    165   if invalid_tensors:
--> 166     raise ValueError("Invalid tensors '{}' were found.".format(
    167         ",".join(invalid_tensors)))
    168   return tensors

ValueError: Invalid tensors 'input' were found.
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