Update README.md

This commit is contained in:
nihui 2022-07-07 19:23:03 +08:00 committed by GitHub
parent f7f9ab4b96
commit 89e38dc645
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -181,6 +181,11 @@ TRAIN:
```
python3 test.py --yaml configs/coco.yaml --weight weights/coco_ap05_0.250_280epoch.pth --img data/3.jpg --onnx
```
## Export torchscript
* You can export .pt by adding the --torchscript option when executing test.py
```
python3 test.py --yaml configs/coco.yaml --weight weights/coco_ap05_0.250_280epoch.pth --img data/3.jpg --torchscript
```
## onnx-runtime
* You can learn about the pre and post-processing methods of FastestDet in this Sample
```