JeVoisBase  1.20
JeVois Smart Embedded Machine Vision Toolkit Base Modules
Share this page:
benchmark Namespace Reference


class  Benchmark


def build_from_cfg (cfg, registery, key=None, name=None)
def prepend_pythonpath (cfg)


 parser = argparse.ArgumentParser("Benchmarks for OpenCV Zoo.")
 args = parser.parse_args()
 cfg = yaml.safe_load(f)
 benchmark = Benchmark(**cfg['Benchmark'])
def model = build_from_cfg(cfg=cfg['Model'], registery=MODELS, key='name')

Function Documentation

◆ build_from_cfg()

def benchmark.build_from_cfg (   cfg,
  key = None,
  name = None 

Definition at line 16 of file

Referenced by benchmark.Benchmark.__init__().

◆ prepend_pythonpath()

def benchmark.prepend_pythonpath (   cfg)

Definition at line 27 of file

Variable Documentation

◆ args

benchmark.args = parser.parse_args()

Definition at line 14 of file

Referenced by TensorFlow::JeVoisReporter.Report().

◆ benchmark

benchmark.benchmark = Benchmark(**cfg['Benchmark'])

Definition at line 122 of file

◆ cfg

benchmark.cfg = yaml.safe_load(f)

Definition at line 116 of file

◆ help

Definition at line 13 of file

◆ model

def benchmark.model = build_from_cfg(cfg=cfg['Model'], registery=MODELS, key='name')

Definition at line 125 of file

◆ parser

benchmark.parser = argparse.ArgumentParser("Benchmarks for OpenCV Zoo.")

Definition at line 11 of file

◆ type


Definition at line 12 of file

Referenced by GPUshader.load().