neodroidvision.utilities.misc.metric_utilities.SmoothedValue¶
- class neodroidvision.utilities.misc.metric_utilities.SmoothedValue(window_size=20, fmt: Optional[str] = None)[source]¶
Bases:
object
Track a series of values and provide access to smoothed values over a window or the global series average.
Methods
__init__
([window_size, fmt])Warning: does not synchronize the deque!
update
(value[, n])- param value
Attributes
Returns:
Returns:
Returns:
Returns:
Returns:
- property avg¶
Returns:
- property global_avg¶
Returns:
- property max¶
Returns:
- property median¶
Returns:
- property value¶
Returns: