Skip to content

tflitego_examples provide examples to use tflitego to use TensorFlow lite in Go. More information about the library: https://github.com/nbortolotti/tflitego

License

Notifications You must be signed in to change notification settings

nbortolotti/tflitego_examples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Subreddit subscribers

Examples for tflitego

how to use

go get github.com/nbortolotti/tflitego

Examples

Iris Model

This example propose an inference using tflitego.

included:

  • iris.go: all the example code to implement an inference using tflitego
  • iris_lite.tflite: tflite generic model to run the example.

Image Categorization

This example propose inferences using images and with the objective to provide categorization or labeling.

included:

  • image.go:
  • image_test.go
  • images: folder with image placerholders.
  • models: folder with tf models.
    • mobilenet_v1_1.0_224_quant.tflite
    • mobilenet_v2_1.0_224_quant.tflite
    • labels_mobilenet_224.txt

Note: ioncluded a flag to customize an image capture into Raspberry Pi device. --rasp=true. This option provide th eoportunity to use a Raspberry Pi Camera Module to provide an interative demostration of image categorization.


Note:

remember to navigate into examples folder.


go build
go run iris.go

About

tflitego_examples provide examples to use tflitego to use TensorFlow lite in Go. More information about the library: https://github.com/nbortolotti/tflitego

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages