Release 8.0.5 PR (#279)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Glenn Jocher <glenn.jocher@ultralytics.com> Co-authored-by: Izam Mohammed <106471909+izam-mohammed@users.noreply.github.com> Co-authored-by: Yue WANG 王跃 <92371174+yuewangg@users.noreply.github.com> Co-authored-by: Thibaut Lucas <thibautlucas13@gmail.com>
This commit is contained in:
parent
9552827157
commit
c42e44a021
28 changed files with 940 additions and 311 deletions
|
|
@ -32,7 +32,7 @@ def test_model_fuse():
|
|||
|
||||
def test_predict_dir():
|
||||
model = YOLO(MODEL)
|
||||
model.predict(source=ROOT / "assets", return_outputs=False)
|
||||
model.predict(source=ROOT / "assets")
|
||||
|
||||
|
||||
def test_val():
|
||||
|
|
@ -98,3 +98,11 @@ def test_export_paddle():
|
|||
def test_all_model_yamls():
|
||||
for m in list((ROOT / 'models').rglob('*.yaml')):
|
||||
YOLO(m.name)
|
||||
|
||||
|
||||
def test_workflow():
|
||||
model = YOLO(MODEL)
|
||||
model.train(data="coco128.yaml", epochs=1, imgsz=32)
|
||||
model.val()
|
||||
model.predict(SOURCE)
|
||||
model.export(format="onnx", opset=12) # export a model to ONNX format
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue