Skip to content

Releases: oramasearch/onnx-go

GetInputTensors is part of the API

30 Dec 13:35
78b014b
Compare
Choose a tag to compare
Feat/get input tensors (#172)

* feat: flag for console output

* feat: GetInputTensors

* fix: test and bug fix

* feat: bump version

* feat: more tests

Update dependencies versions

30 Dec 12:17
c21037c
Compare
Choose a tag to compare
Pre-release
Bump version (#171)

* feat: test are run in //

* feat: bump module versions

* WARN: test should be able to run in //

go module release

02 Dec 21:10
7767174
Compare
Choose a tag to compare
go module release Pre-release
Pre-release

This is a pre-release according to issue #168

Tiny YOLO v2 is running

19 Jun 15:53
44ac39e
Compare
Choose a tag to compare
Pre-release

This is a pre-release to distribute a small cli able to run the Tiny YOLO v2 model for object detection.

To run this utility, you need to download the ONNX model from the zoo.

To run this utility:

✗  ./tiny_yolov2-darwin -h
Usage of ./tiny_yolov2-darwin:
  -h    help
  -img string
        path of an input jpeg image (use - for stdin)
  -model string
        path to the model file (default "model.onnx")
  -output string
        path of an output png file (use - for stdout)
  -s    silent mode (useful if output is -)
This application is configured via the environment. The following environment
variables can be used:

KEY                          TYPE     DEFAULT    REQUIRED    DESCRIPTION
YOLO_CONFIDENCE_THRESHOLD    Float    0.30       true
YOLO_PROBA_THRESHOLD         Float    0.90       true

This utility is provided for fun without further support.

Enjoy!

Emotion fer+ and draft of BCHW utilities

01 May 20:50
2f0c263
Compare
Choose a tag to compare

About

This is a pre-release able to run the emotion fer+ model.
On top of that, it holds the premises of a new package to manipulate images and BCHW tensors (see internal/x).

Binary attachment

The attachment is a simple tool that expects the emotion fer + model as input (model.onnx) and a picture encoded in gray/png and of size 64x64. (See the Makefile for options of ImageMagick to convert the picture to a suitable format).

You need to grab the model.onnx file from here

MacOS with brew

On MacOS you can install imagesnap and imagemagick and run macos_fun.sh.

Otherwise, simply download the Makefile and type make install to install everything and make analyze1.jpg to create a picture and analyze it.

Ability to run mnist against the master of Gorgonia

26 Apr 07:21
f37e05b
Compare
Choose a tag to compare
v0.2

feat: mnist example (onnx version 1.3) can successfully run with Gorg…

This is a release I made for my blog

v0.1-mnist-cli

22 Mar 12:11
Compare
Choose a tag to compare
v0.1-mnist-cli Pre-release
Pre-release

To use it:
curl https://www.cntk.ai/OnnxModels/mnist/opset_7/mnist.tar.gz | tar -C /tmp -xzvf -
./mnist-reader.darwin -model /tmp/mnist/model.onnx

then point your browser to http://localhost:8100

To build it:

$ git checkout v0.1-mnist-cli
$ cd example/gorgonia/mnist-reader
$ curl https://www.cntk.ai/OnnxModels/mnist/opset_7/mnist.tar.gz | tar -C /tmp -xzf -
$ go run main.go -model /tmp/mnist/model.onnx