Git Product home page Git Product logo

mivisionx-inference's Introduction

MIVisionX Python Inference Application

MIVisionX Inference Application using pre-trained ONNX/NNEF/Caffe models.

Pre-trained models in ONNX, NNEF, & Caffe formats are supported by MIVisionX. The app first converts the pre-trained models to AMD Neural Net Intermediate Representation (NNIR), once the model has been translated into AMD NNIR (AMD's internal open format), the Optimizer goes through the NNIR and applies various optimizations which would allow the model to be deployed on to target hardware most efficiently. Finally, AMD NNIR is converted into OpenVX C code, which is compiled and wrapped with a python API to run on any targeted hardware.

Prerequisites

usage: mivisionx_classifier.py  [-h] 
                                --model_format MODEL_FORMAT 
                                --model_name MODEL_NAME 
                                --model MODEL 
                                --model_input_dims MODEL_INPUT_DIMS 
                                --model_output_dims MODEL_OUTPUT_DIMS 
                                --label LABEL 
                                [--add ADD]
                                [--multiply MULTIPLY] 
                                [--video VIDEO]
                                [--capture CAPTURE] 
                                [--replace REPLACE]
                                [--verbose VERBOSE]

Usage help

  -h, --help            show help message and exit
  --model_format        pre-trained model format, options:caffe/onnx/nnef     [required]
  --model_name          model name                                            [required]
  --model               pre_trained model file                                [required]
  --model_input_dims    c,h,w - channel,height,width                          [required]
  --model_output_dims   c,h,w - channel,height,width                          [required]
  --label               labels text file                                      [required]
  --add                 input preprocessing factor               [optional - default:0 ]
  --multiply            input preprocessing factor               [optional - default:1 ]
  --video               video file for classification            [optional - default:'']
  --capture             capture device id                        [optional - default:0 ]
  --replace             replace/overwrite model                  [optional - default:no]
  --verbose             verbose                                  [optional - default:no]

mivisionx-inference's People

Contributors

kiritigowda avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.