Skip to content

Commit 44d4247

Browse files
committed
remove pytorch2onnx.py because nobody depends on it
1 parent e3e67f2 commit 44d4247

File tree

2 files changed

+16
-87
lines changed

2 files changed

+16
-87
lines changed

README.md

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -85,21 +85,21 @@ See following sections for more details of conversions.
8585
8686
- val2017 dataset (416x416)
8787
88-
| Model type | AP | AP50 | AP75 | APS | APM | APL |
89-
| ------------------- | ----------: | ----------: | ----------: | ----------: | ----------: | ----------: |
90-
| Pytorch (TianXiaomo)| 0.466 | 0.704 | 0.505 | 0.267 | 0.524 | 0.629 |
91-
| ONNX | incoming | incoming | incoming | incoming | incoming | incoming |
92-
| TensorRT FP32 + BatchedNMSPlugin | 0.472| 0.708 | 0.511 | 0.273 | 0.530 | 0.637 |
93-
| TensorRT FP16 + BatchedNMSPlugin | 0.472| 0.708 | 0.511 | 0.273 | 0.530 | 0.636 |
88+
| Model type | AP | AP50 | AP75 | APS | APM | APL |
89+
| ------------------- | ----------: | ----------: | ----------: | ----------: | ----------: | ----------: |
90+
| Pytorch (TianXiaomo)| 0.466 | 0.704 | 0.505 | 0.267 | 0.524 | 0.629 |
91+
| ONNX | incoming | incoming | incoming | incoming | incoming | incoming |
92+
| TensorRT FP32 + BatchedNMSPlugin | 0.472| 0.708 | 0.511 | 0.273 | 0.530 | 0.637 |
93+
| TensorRT FP16 + BatchedNMSPlugin | 0.472| 0.708 | 0.511 | 0.273 | 0.530 | 0.636 |
9494
9595
- testdev2017 dataset (416x416)
9696
97-
| Model type | AP | AP50 | AP75 | APS | APM | APL |
98-
| ------------------- | ----------: | ----------: | ----------: | ----------: | ----------: | ----------: |
99-
| DarkNet (YOLOv4 paper)| 0.412 | 0.628 | 0.443 | 0.204 | 0.444 | 0.560 |
100-
| Pytorch (TianXiaomo)| 0.404 | 0.615 | 0.436 | 0.196 | 0.438 | 0.552 |
101-
| ONNX | incoming | incoming | incoming | incoming | incoming | incoming |
102-
| TensorRT FP32 + BatchedNMSPlugin | 0.412| 0.625 | 0.445 | 0.200 | 0.446 | 0.564 |
97+
| Model type | AP | AP50 | AP75 | APS | APM | APL |
98+
| ------------------- | ----------: | ----------: | ----------: | ----------: | ----------: | ----------: |
99+
| DarkNet (YOLOv4 paper)| 0.412 | 0.628 | 0.443 | 0.204 | 0.444 | 0.560 |
100+
| Pytorch (TianXiaomo)| 0.404 | 0.615 | 0.436 | 0.196 | 0.438 | 0.552 |
101+
| ONNX | incoming | incoming | incoming | incoming | incoming | incoming |
102+
| TensorRT FP32 + BatchedNMSPlugin | 0.412| 0.625 | 0.445 | 0.200 | 0.446 | 0.564 |
103103
104104
105105
## 2.2 Image input size for inference
@@ -108,10 +108,10 @@ Image input size is NOT restricted in `320 * 320`, `416 * 416`, `512 * 512` and
108108
You can adjust your input sizes for a different input ratio, for example: `320 * 608`.
109109
Larger input size could help detect smaller targets, but may be slower and GPU memory exhausting.
110110
111-
```py
112-
height = 320 + 96 * n, n in {0, 1, 2, 3, ...}
113-
width = 320 + 96 * m, m in {0, 1, 2, 3, ...}
114-
```
111+
```py
112+
height = 320 + 96 * n, n in {0, 1, 2, 3, ...}
113+
width = 320 + 96 * m, m in {0, 1, 2, 3, ...}
114+
```
115115

116116
## 2.3 **Different inference options**
117117

tool/pytorch2onnx.py

Lines changed: 0 additions & 71 deletions
This file was deleted.

0 commit comments

Comments
 (0)