torch2tflite
torch2tflite copied to clipboard
PyTorch to TensorFlow Lite converter
- Development packages (black, pre-commit, poetry.lock etc.) added - Code style changed to black - Project setup changed to pyproject.toml from setup.py - VSCode settings added
I'm trying to convert a YOLOv5 best.pt weights file to a .tflite file so we can deploy the model on a flutter app. This is the code: `import torch weights_path...
I created below colab and getting below "TypeError: 'tuple' object cannot be interpreted as an integer" error. Could you please help me on this ? https://colab.research.google.com/drive/19JeOkrxlGP6KtkfGbrkO87COc4pvSZSE?usp=sharing#scrollTo=vdeytDxjFdZ3 Traceback (most recent call...
When I have ran: `python -m torch2tflite.converter --torch-path converted.pt --tflite-path siggraph17.tflite --targeet-shape 225 225 3 --seed 10` I have the following error: ```Traceback (most recent call last): File "/usr/local/Cellar/[email protected]/3.8.12_1/Frameworks/Python.framework/Versions/3.8/lib/python3.8/runpy.py", line...
python install running to this error: Not found: 'python/cv2/gapi/.*\.py'
Dear Authors, Could you please verify the dependencies. It seems `tflite-runtime~=2.5` is not available now. > No local packages or working download links found for tflite-runtime~=2.5 > error: Could not...