Update test_workflow to ONNX (#15974)
This commit is contained in:
parent
5b3e60b452
commit
5a6db149e4
1 changed files with 1 additions and 1 deletions
|
|
@ -202,7 +202,7 @@ def test_workflow():
|
||||||
model.train(data="coco8.yaml", epochs=1, imgsz=32, optimizer="SGD")
|
model.train(data="coco8.yaml", epochs=1, imgsz=32, optimizer="SGD")
|
||||||
model.val(imgsz=32)
|
model.val(imgsz=32)
|
||||||
model.predict(SOURCE, imgsz=32)
|
model.predict(SOURCE, imgsz=32)
|
||||||
model.export(format="torchscript")
|
model.export(format="onnx")
|
||||||
|
|
||||||
|
|
||||||
def test_predict_callback_and_setup():
|
def test_predict_callback_and_setup():
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue