tensorflow / tensorflow/models
error while trying to converting .pb to tflite in object detection
@thunderfyc is already working on this.
Since Sep 2, 2021.
- Dominant language
- Python
- Stars
- 77.7k
- Forks
- 44.8k
- PR merge metrics
- No merged PRs in 30d
Description
URL of the documentation with the issue
https://github.com/tensorflow/models/blob/master/research/seq_flow_lite/export_to_tflite.py
Description of the issue:
i face an error while running the script from the above linked repo, in object detection.
python export_to_tflite.py --help
2021-09-02 14:48:34.746834: W tensorflow/stream_executor/platform/default/dso_loader.cc:64] Could not load dynamic library 'libcudart.so.11.0'; dlerror: libcudart.so.11.0: cannot open shared object file: No such file or directory
2021-09-02 14:48:34.746857: I tensorflow/stream_executor/cuda/cudart_stub.cc:29] Ignore above cudart dlerror if you do not have a GPU set up on your machine.
Traceback (most recent call last):
File "/home/sahasra/jukshio/object_det_rec/TensorFlow/models/research/seq_flow_lite/export_to_tflite.py", line 30, in
from layers import projection_layers # import seq_flow_lite module
File "/home/sahasra/jukshio/object_det_rec/TensorFlow/models/research/seq_flow_lite/layers/projection_layers.py", line 21, in
from tf_ops import sequence_string_projection_op as ssp # import seq_flow_lite module
ImportError: cannot import name 'sequence_string_projection_op' from 'tf_ops' (unknown location)
can someone help me fix this?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.