Unclaimed project
Are you a maintainer of onnx-go? Claim this project to take control of your public changelog and roadmap.
Changelog
onnx-go gives the ability to import a pre-trained neural network within Go without being linked to a framework or library.
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!