Update `test_workflow` to ONNX (#15974)

action-recog
Glenn Jocher 3 months ago committed by fcakyon
parent eeb733af32
commit 18de47cda6
  1. 2
      tests/test_python.py

@ -202,7 +202,7 @@ def test_workflow():
model.train(data="coco8.yaml", epochs=1, imgsz=32, optimizer="SGD")
model.val(imgsz=32)
model.predict(SOURCE, imgsz=32)
model.export(format="torchscript")
model.export(format="onnx")
def test_predict_callback_and_setup():

Loading…
Cancel
Save