Skip to content

Commit

Permalink
feat: adjust file directory
Browse files Browse the repository at this point in the history
  • Loading branch information
Chilicyy committed Jun 17, 2022
1 parent 358389b commit 75e9fc2
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,8 @@ python tools/eval.py --data data/coco.yaml --batch 32 --weights yolov6s.pt --ta
Export as ONNX Format

```shell
python tools/export_onnx.py --weights yolov6s.pt --device 0
yolov6n.pt
python deploy/export_onnx.py --weights yolov6s.pt --device 0
yolov6n.pt
```


Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion docs/Test_speed.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ To get inference speed with TensorRT in FP16 mode on T4, you can follow the ste
First, export pytorch model as onnx format using the following command:

```shell
python tools/export_onnx.py --weights yolov6n.pt --device 0 --batch [1 or 32]
python deploy/export_onnx.py --weights yolov6n.pt --device 0 --batch [1 or 32]
```

Second, generate an inference trt engine and test speed using `trtexec`:
Expand Down
2 changes: 1 addition & 1 deletion docs/Train_custom_data.md
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,6 @@ python tools/infer.py --weights output_dir/name/weights/best_ckpt.pt --source im
Export as ONNX Format

```shell
python tools/export_onnx.py --weights output_dir/name/weights/best_ckpt.pt --device 0
python deploy/export_onnx.py --weights output_dir/name/weights/best_ckpt.pt --device 0
```

0 comments on commit 75e9fc2

Please sign in to comment.