ultralytics 8.0.81 single-line docstring updates (#2061)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
This commit is contained in:
parent
5bce1c3021
commit
a38f227672
64 changed files with 620 additions and 58 deletions
|
|
@ -37,6 +37,7 @@ def on_predict_start(predictor, persist=False):
|
|||
|
||||
|
||||
def on_predict_postprocess_end(predictor):
|
||||
"""Postprocess detected boxes and update with object tracking."""
|
||||
bs = predictor.dataset.bs
|
||||
im0s = predictor.batch[2]
|
||||
im0s = im0s if isinstance(im0s, list) else [im0s]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue