JeVoisBase  1.22
JeVois Smart Embedded Machine Vision Toolkit Base Modules
Share this page:
Loading...
Searching...
No Matches
benchmark Namespace Reference

Classes

class  Benchmark
 

Functions

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

Variables

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

Function Documentation

◆ build_from_cfg()

benchmark.build_from_cfg (   cfg,
  registery,
  key = None,
  name = None 
)

Definition at line 16 of file benchmark.py.

◆ prepend_pythonpath()

benchmark.prepend_pythonpath (   cfg)

Definition at line 27 of file benchmark.py.

References prepend_pythonpath().

Referenced by prepend_pythonpath().

Variable Documentation

◆ args

benchmark.args = parser.parse_args()

Definition at line 14 of file benchmark.py.

◆ benchmark

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

Definition at line 122 of file benchmark.py.

◆ cfg

benchmark.cfg = yaml.safe_load(f)

Definition at line 116 of file benchmark.py.

◆ help

benchmark.help

Definition at line 13 of file benchmark.py.

◆ model

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

Definition at line 125 of file benchmark.py.

◆ parser

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

Definition at line 11 of file benchmark.py.

◆ type

benchmark.type

Definition at line 12 of file benchmark.py.