JeVoisBase  1.21
JeVois Smart Embedded Machine Vision Toolkit Base Modules
Share this page:
Loading...
Searching...
No Matches

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

Public Member Functions

 __init__ (self)
 [Optional] Constructor
 
 init (self)
 [Optional] JeVois parameters initialization
 
 freeze (self, doit)
 [Optional] Freeze some parameters that should not be changed at runtime
 
 load (self)
 [Required] Load the network from disk
 
 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
 

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__()

PyNetORT.PyNetORT.__init__ (   self)

[Optional] Constructor

Definition at line 26 of file PyNetORT.py.

Member Function Documentation

◆ freeze()

◆ init()

PyNetORT.PyNetORT.init (   self)

[Optional] JeVois parameters initialization

Definition at line 31 of file PyNetORT.py.

◆ load()

◆ process()

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, PyNetURetinex.PyNetURetinex.inputs, PyNetORT.PyNetORT.session, and PyNetURetinex.PyNetURetinex.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

◆ model

◆ session


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