Skip to content

Commit f1f6c86

Browse files
authored
Update README.md
1 parent bbddd74 commit f1f6c86

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ For pretrained default weights (```--weights yolov5s```), scripts will download
3939
You can convert ONNX weights to TensorRT by using the `convert.py` file. Simple run the following command:
4040

4141
```bash
42-
python convert.py --weights yolov5s.engine --img-size 720 1080
42+
python convert.py --weights yolov5s.onnx --img-size 720 1080
4343
```
4444

4545
1. By default the onnx model is converted to TensorRT engine with FP16 precision. To convert to TensorRT engine with FP32 precision use ```--fp32``` when running the above command.

0 commit comments

Comments
 (0)