Skip to content

Releases: oramasearch/onnx-go

GetInputTensors is part of the API

Choose a tag to compare

@owulveryck owulveryck released this 30 Dec 13:35
78b014b
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

Pre-release

Choose a tag to compare

@owulveryck owulveryck released this 30 Dec 12:17
c21037c
Bump version (#171)

* feat: test are run in //

* feat: bump module versions

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

go module release

go module release Pre-release
Pre-release

Choose a tag to compare

@owulveryck owulveryck released this 02 Dec 21:10
7767174

This is a pre-release according to issue #168

Tiny YOLO v2 is running

Pre-release

Choose a tag to compare

@owulveryck owulveryck released this 19 Jun 15:53
44ac39e

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

Choose a tag to compare

@owulveryck owulveryck released this 01 May 20:50
2f0c263

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

Choose a tag to compare

@owulveryck owulveryck released this 26 Apr 07:21
f37e05b
v0.2

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

This is a release I made for my blog

Pre-release

Choose a tag to compare

@owulveryck owulveryck released this 08 Apr 07:42

v0.1-mnist-cli

v0.1-mnist-cli Pre-release
Pre-release

Choose a tag to compare

@owulveryck owulveryck released this 22 Mar 12:11

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