ultralytics 8.0.47 Docker and reformat updates (#1153)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
This commit is contained in:
parent
d4be4cb24b
commit
a58f766f94
41 changed files with 224 additions and 201 deletions
|
|
@ -162,9 +162,8 @@ def test_workflow():
|
|||
|
||||
|
||||
def test_predict_callback_and_setup():
|
||||
|
||||
def on_predict_batch_end(predictor):
|
||||
# results -> List[batch_size]
|
||||
# test callback addition for prediction
|
||||
def on_predict_batch_end(predictor): # results -> List[batch_size]
|
||||
path, _, im0s, _, _ = predictor.batch
|
||||
# print('on_predict_batch_end', im0s[0].shape)
|
||||
im0s = im0s if isinstance(im0s, list) else [im0s]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue