Unverified Commit 57c342a6 authored by Glenn Jocher's avatar Glenn Jocher Committed by GitHub
Browse files

Simplify ONNX inference command (#4405)

parent 3e7c59ad
......@@ -76,7 +76,7 @@ def export_onnx(model, img, file, opset, train, dynamic, simplify):
except Exception as e:
print(f'{prefix} simplifier failure: {e}')
print(f'{prefix} export success, saved as {f} ({file_size(f):.1f} MB)')
print(f"{prefix} run --dynamic ONNX model inference with detect.py: 'python detect.py --weights {f}'")
print(f"{prefix} run --dynamic ONNX model inference with: 'python detect.py --weights {f}'")
except Exception as e:
print(f'{prefix} export failure: {e}')
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment