Omit ultralytics/utils/callbacks from coverage (#4345)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
This commit is contained in:
parent
d47718c367
commit
c940d29d4f
18 changed files with 63 additions and 36 deletions
|
|
@ -212,8 +212,8 @@ def test_results():
|
|||
for r in results:
|
||||
r = r.cpu().numpy()
|
||||
r = r.to(device='cpu', dtype=torch.float32)
|
||||
r.save_txt(txt_file='label.txt', save_conf=True)
|
||||
r.save_crop(save_dir='crops/')
|
||||
r.save_txt(txt_file='runs/tests/label.txt', save_conf=True)
|
||||
r.save_crop(save_dir='runs/tests/crops/')
|
||||
r.tojson(normalize=True)
|
||||
r.plot(pil=True)
|
||||
r.plot(conf=True, boxes=True)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue