JeVoisBase
1.22
JeVois Smart Embedded Machine Vision Toolkit Base Modules
|
|
Public Member Functions | |
__init__ (self, **kwargs) | |
getReduction (self) | |
forward (self, model, *args, **kwargs) | |
Protected Member Functions | |
_calcMedian (self, records) | |
_calcGMean (self, records, drop_largest=3) | |
_getResult (self) | |
Protected Attributes | |
_warmup | |
_repeat | |
_reduction | |
_timer | |
Definition at line 5 of file base_metric.py.
utils.metrics.base_metric.BaseMetric.__init__ | ( | self, | |
** | kwargs | ||
) |
Reimplemented in utils.metrics.base.Base, utils.metrics.detection.Detection, utils.metrics.recognition.Recognition, and utils.metrics.tracking.Tracking.
Definition at line 6 of file base_metric.py.
|
protected |
Return the geometric mean of records after drop the first drop_largest
Definition at line 23 of file base_metric.py.
Referenced by utils.metrics.base_metric.BaseMetric._getResult().
|
protected |
Return the median of records
Definition at line 13 of file base_metric.py.
Referenced by utils.metrics.base_metric.BaseMetric._getResult().
|
protected |
Definition at line 32 of file base_metric.py.
References utils.metrics.base_metric.BaseMetric._calcGMean(), utils.metrics.base_metric.BaseMetric._calcMedian(), utils.metrics.base_metric.BaseMetric._reduction, and utils.metrics.base_metric.BaseMetric._timer.
Referenced by utils.metrics.tracking.Tracking.forward().
utils.metrics.base_metric.BaseMetric.forward | ( | self, | |
model, | |||
* | args, | ||
** | kwargs | ||
) |
Reimplemented in utils.metrics.base.Base, utils.metrics.detection.Detection, utils.metrics.recognition.Recognition, and utils.metrics.tracking.Tracking.
Definition at line 44 of file base_metric.py.
utils.metrics.base_metric.BaseMetric.getReduction | ( | self | ) |
Definition at line 41 of file base_metric.py.
References utils.metrics.base_metric.BaseMetric._reduction.
|
protected |
Definition at line 9 of file base_metric.py.
Referenced by utils.metrics.base_metric.BaseMetric._getResult(), and utils.metrics.base_metric.BaseMetric.getReduction().
|
protected |
Definition at line 8 of file base_metric.py.
Referenced by utils.metrics.tracking.Tracking.__init__().
|
protected |
Definition at line 11 of file base_metric.py.
Referenced by utils.metrics.base_metric.BaseMetric._getResult(), utils.metrics.recognition.Recognition.forward(), and utils.metrics.tracking.Tracking.forward().
|
protected |
Definition at line 7 of file base_metric.py.
Referenced by utils.metrics.tracking.Tracking.__init__().