go-tflite
Go binding for TensorFlow Lite
File Explorer
Download Latest Version (.zip)- ci.yml
- docker.yml
- FUNDING.yml
- go.mod
- go.sum
- main.go
- miaow_16k.wav
- wav.go
- yamnet_class_map.csv
- go.mod
- go.sum
- main.go
- go.mod
- go.sum
- lr-1.jpg
- main.go
- fizzbuzz_model.h5
- fizzbuzz_model.tflite
- Fun with TensorFlow Lite using go-tflite.ipynb
- main.go
- make.py
- fizzbuzz_model_quant_edgetpu.tflite
- go.mod
- go.sum
- main.go
- make.py
- go.mod
- go.sum
- labels.txt
- main.go
- iris.csv
- iris.tflite
- main.go
- make.py
- .gitignore
- Classify images using pre-trained model.ipynb
- go.mod
- go.sum
- labels.txt
- main.go
- peacock.png
- .gitignore
- fetch_testfiles.sh
- go.mod
- go.sum
- main.go
- go.mod
- go.sum
- grace_hopper.png
- labels.txt
- main.go
- 0.png
- 1.png
- 2.png
- 3.png
- 4.png
- 5.png
- 6.png
- 7.png
- 8.png
- 9.png
- go.mod
- go.sum
- main.go
- make.py
- mnist_model.tflite
- Predicting handwriting number with mnist.ipynb
- 4.png
- go.mod
- go.sum
- main.go
- mnist_model.tflite
- fabric.min.js
- index.html
- go.mod
- go.sum
- main.go
- mnist_model.tflite
- go.mod
- go.sum
- main.go
- test.jpg
- go.mod
- go.sum
- main.go
- go.mod
- go.sum
- main.go
- content.txt
- go.mod
- go.sum
- main.go
- vocab.txt
- go.mod
- go.sum
- main.go
- go.mod
- go.sum
- main.go
- Draw segments on the picture.ipynb
- example.jpg
- go.mod
- go.sum
- main.go
- go.mod
- go.sum
- main.go
- Approximate sin function.ipynb
- main.go
- make.py
- sin.csv
- sin.py
- sin_model.tflite
- extract_feature.cc
- normalize.cc
- ops.cc
- ops.go
- predict.cc
- backoff_response.txt
- main.go
- conv_actions_labels.txt
- go.mod
- go.sum
- main.go
- wav.go
- yes_1000ms.wav
- example.jpg
- go.mod
- go.sum
- labelmap.txt
- main.go
- Single Short Object Detection.ipynb
- coco_labels.txt
- go.mod
- go.sum
- main.go
- go.mod
- go.sum
- main.go
- go.mod
- go.sum
- labelmap.txt
- main.go
- go.mod
- go.sum
- labelmap.txt
- main.go
- belfry.jpg
- go.mod
- go.sum
- main.go
- style23.jpg
- labels.txt
- main.go
- vocab.txt
- go.mod
- go.sum
- kinetics600_label_map.txt
- main.go
- go.mod
- go.sum
- labels.txt
- main.go
- go.mod
- go.sum
- main.go
- go.mod
- go.sum
- main.go
- make.py
- coco_labels.txt
- go.mod
- go.sum
- main.go
- .gitignore
- download-tflite.sh
- README.md
- Dockerfile
- build-buildkit.sh
- edgetpu.go
- edgetpu.go.h
- external.go
- external.go.h
- README.md
- cl.go
- cl.go.h
- gl.go
- gl.go.h
- go.mod
- go.sum
- lib.go
- lib.go.h
- xnnpack.go
- xnnpack.go.h
- xnnpack_test.go
- delegates.go
- Dockerfile
- entrypoint.sh
- iris.ipynb
- run.sh
- ops.cc
- ops.go
- screenshot.png
- make.py
- make_sig.py
- xor_model.h5
- xor_model.tflite
- xor_model_sig.tflite
- .gitignore
- callback.go
- go.mod
- go.sum
- LICENSE
- Makefile.tflite
- README.md
- tflite.go
- tflite.go.h
- tflite_experimental.go
- tflite_experimental.go.h
- tflite_test.go
- tflite_type.go
- type_string.go
# Installation Guide
1. Get the code
git clone https://github.com/mattn/go-tflite
Downloads the entire project code from GitHub to your computer.
cd go-tflite
Moves into the project folder you just downloaded.
2. Docker
Easy RecommendedPrerequisites
- 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 build -f binder/Dockerfile -t go-tflite .
Builds a runnable image based on the Dockerfile.
docker run -p 8080:80 go-tflite
Runs the built image as an actual container.
Run docker compose ps to check the containers are Up. If the README mentions a port, open http://localhost:PORT in your browser.
3. Go
MediumPrerequisites
โ ๏ธ This is a large repository, so this method may point to an internal sub-package rather than the actual core product. Check the full README as well.
cd _example/audio_classification
This project's files live in a subfolder, so move into it first.
go build ./...
Compiles the Go program into an executable.
go run .
Runs the Go program directly without a separate build step.
If the build finishes without errors, it worked. If you used go run ., check the terminal output.
// repository documentation
Was this content helpful?
(0 ratings)
