tflite2tensorflow
Generate saved_model, tfjs, tf-trt, EdgeTPU, CoreML, quantized tflite, ONNX, OpenVINO, Myriad Inference Engine blob and .pb from .tflite. Support for building environments with Docker. It is possible to directly access the host PC GUI and the camera to verify the operation. NVIDIA GPU (dGPU) support. Intel iHD GPU (iGPU) support. Supports inverse quantization of INT8 quantization model.
File Explorer
Download Latest Version (.zip)- config.yml
- issue_template.yml
- codeql-analysis.yml
- python-publish.yml
- FUNDING.yml
- download.sh
- download.sh
- calibration_data_img_sample.npy
- schema.fbs
- schema_v0.fbs
- schema_v1.fbs
- schema_v2.fbs
- schema_v3.fbs
- schema_v3a.fbs
- tflite2tensorflow
- view_npy
- __init__.py
- mediapipeCustomOp.py
- tflite2tensorflow.py
- view_npy.py
- .dockerignore
- .gitignore
- bashrc
- Dockerfile
- LICENSE
- README.md
- setup.py
# Installation Guide
git clone https://github.com/PINTO0309/tflite2tensorflow
Downloads the entire project code from GitHub to your computer.
cd tflite2tensorflow
Moves into the project folder you just downloaded.
2. Docker
Easy Recommended- Git Needed to download the project code from GitHub.
- Docker Desktop Needed to build and run containers. Install it and keep it running in the background.
$ docker pull ghcr.io/pinto0309/tflite2tensorflow:latest
Type this command into your terminal and run it.
$ docker build -t ghcr.io/pinto0309/tflite2tensorflow:latest .
Builds a runnable image based on the Dockerfile.
$ docker run -it --rm \
Runs the built image as an actual container.
docker run -it --rm \
Runs the built image as an actual container.
docker run --gpus all -it --rm \
Runs the built image as an actual container.
Pulled directly from this repo's README.
3. Python
Easy$ pip3 install --user --upgrade tflite2tensorflow
Installs the Python libraries listed in requirements.txt (or similar).
$ pip3 install --user --upgrade git+https://github.com/PINTO0309/tflite2tensorflow
Installs the Python libraries listed in requirements.txt (or similar).
$ sudo pip3 uninstall -y \
Type this command into your terminal and run it.
&& pip3 install --user --force-reinstall tflite_runtime-${TENSORFLOWVER}-cp38-none-linux_x86_64.whl \
Installs the Python libraries listed in requirements.txt (or similar).
&& pip3 install --user --force-reinstall tensorflow-${TENSORFLOWVER}-cp38-none-linux_x86_64.whl \
Installs the Python libraries listed in requirements.txt (or similar).
Pulled directly from this repo's README.
