MCPcopy Create free account
hub / github.com/FoundationVision/ByteTrack / __init__

Method __init__

yolox/utils/metric.py:56–59  ·  view source on GitHub ↗
(self, window_size=50)

Source from the content-addressed store, hash-verified

54 """
55
56 def __init__(self, window_size=50):
57 self._deque = deque(maxlen=window_size)
58 self._total = 0.0
59 self._count = 0
60
61 def update(self, value):
62 self._deque.append(value)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected