JeVoisBase  1.20
JeVois Smart Embedded Machine Vision Toolkit Base Modules
Share this page:
PyNetORT.PyNetORT Class Reference

Simple DNN network invoked from ONNX-Runtime in python. More...

Public Member Functions

def __init__ (self)
 [Optional] Constructor More...
 
def init (self)
 [Optional] JeVois parameters initialization More...
 
def freeze (self, doit)
 [Optional] Freeze some parameters that should not be changed at runtime More...
 
def load (self)
 [Required] Load the network from disk More...
 
def process (self, blobs)
 [Required] Main processing function: process input blobs through network and return output blobs blobs is a list of numpy arrays for the network's outputs Should return a tuple with (list of output blobs, list of info strings), where the info strings could contain some information about the network More...
 

Public Attributes

 session
 
 dataroot
 
 model
 
 intensors
 
 inputs
 

Detailed Description

Simple DNN network invoked from ONNX-Runtime in python.

Author
Laurent Itti
Email:
itti@usc.edu
Address:
University of Southern California, HNB-07A, 3641 Watt Way, Los Angeles, CA 90089-2520, USA
Main URL:
http://jevois.org
Support URL:
http://jevois.org/doc
Other URL:
http://iLab.usc.edu
License:
GPL v3
Distribution:
Unrestricted
Restrictions:
None

Definition at line 23 of file PyNetORT.py.

Constructor & Destructor Documentation

◆ __init__()

def PyNetORT.PyNetORT.__init__ (   self)

[Optional] Constructor

Definition at line 26 of file PyNetORT.py.

Member Function Documentation

◆ freeze()

◆ init()

def PyNetORT.PyNetORT.init (   self)

[Optional] JeVois parameters initialization

Definition at line 31 of file PyNetORT.py.

◆ load()

◆ process()

def PyNetORT.PyNetORT.process (   self,
  blobs 
)

[Required] Main processing function: process input blobs through network and return output blobs blobs is a list of numpy arrays for the network's outputs Should return a tuple with (list of output blobs, list of info strings), where the info strings could contain some information about the network

Definition at line 71 of file PyNetORT.py.

References PyNetORT.PyNetORT.inputs, and PyNetORT.PyNetORT.session.

Member Data Documentation

◆ dataroot

◆ inputs

PyNetORT.PyNetORT.inputs

Definition at line 64 of file PyNetORT.py.

Referenced by PyNetORT.PyNetORT.process(), and PyNetURetinex.PyNetURetinex.process().

◆ intensors

PyNetORT.PyNetORT.intensors

Definition at line 46 of file PyNetORT.py.

Referenced by PyNetORT.PyNetORT.freeze(), and PyNetURetinex.PyNetURetinex.freeze().

◆ model

◆ session


The documentation for this class was generated from the following file: