GitXplorerGitXplorer
j

tensorflow-go-models

public
12 stars
3 forks
1 issues

Commits

List of commits on branch master.
Unverified
6772fd453a24e44a25140b8303fd5507bb6a8d2d

added go mod

jjuandes committed 3 years ago
Unverified
8c6ee79e9827c851e2a6639329188508d679d4c4

Added time elapsed for example

jjuandes committed 4 years ago
Unverified
2a2ded0590e1c055de79029398dded609da3df25

Updated README.md

jjuandes committed 5 years ago
Unverified
14ecd4a2da6e4f5c5f55db2e8ed69029e2012f53

Fix path related bug

jjuandes committed 5 years ago
Unverified
e25509debc44c4a116a2b6aac422b83022b33f7c

Renamed package

jjuandes committed 5 years ago
Unverified
bc9ac415af77327cb3cd1cb7d8476907b9e0cd5b

Initial commit

jjuandes committed 5 years ago

README

The README file for this repository.

TensorFlow models for TensorFlow Go

Overview

The purpose of this project is to host several TensorFlow models that can be loaded out of the box to use with TensorFlow Go.

Models

  • MobileNet object detection trained on COCO.

To install

To install the library use $ go get github.com/juandes/tensorflow-go-models/models

Usage

You can load and use a model like this:

package main

import (
	"fmt"

	"github.com/juandes/tensorflow-go-models/models"
)

var model *models.Coco

func main() {
	model = models.NewCoco()
	err := model.Load()
	if err != nil {
		fmt.Printf("Error loading model: %v", err)
		panic(err)
	}

	defer model.CloseSession()
}

In the cmd/ directory you can find an example of a web service that serves the MobileNet model. For more information about how to use it check out the blog post Using TensorFlow Go to serve an object detection model with a web service