ultralytics 8.0.12 - Hydra removal (#506)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Pronoy Mandal <lukex9442@gmail.com> Co-authored-by: Ayush Chaurasia <ayush.chaurarsia@gmail.com>
This commit is contained in:
parent
6eec39162a
commit
c5fccc3fc4
37 changed files with 395 additions and 469 deletions
|
|
@ -49,6 +49,8 @@ def test_predict_img():
|
|||
assert len(output) == 1, "predict test failed"
|
||||
output = model(source=[img, img], save=True, save_txt=True) # batch
|
||||
assert len(output) == 2, "predict test failed"
|
||||
output = model(source=[img, img], save=True, stream=True) # stream
|
||||
assert len(list(output)) == 2, "predict test failed"
|
||||
tens = torch.zeros(320, 640, 3)
|
||||
output = model(tens.numpy())
|
||||
assert len(output) == 1, "predict test failed"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue