You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+3-2Lines changed: 3 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -109,12 +109,13 @@ you can use darknet2pytorch to convert it yourself, or download my converted mod
109
109
110
110
- Inference output
111
111
112
-
Inference output is of shape `[batch, num_boxes, 4 + num_classes]` in which `[batch, num_boxes, 4]` is x_center, y_center, width, height of bounding boxes, and `[batch, num_boxes, num_classes]` is confidences of bounding box for all classes.
112
+
There are 2 inference outputs.
113
+
- One is locations of bounding boxes, its shape is `[batch, num_boxes, 1, 4]` which represents x1, y1, x2, y2 of each bounding box.
114
+
- The other one is scores of bounding boxes which is of shape `[batch, num_boxes, num_classes]` indicating scores of all classes for each bounding box.
113
115
114
116
Until now, still a small piece of post-processing including NMS is required. We are trying to minimize time and complexity of post-processing.
115
117
116
118
117
-
118
119
# 3. Darknet2ONNX (Evolving)
119
120
120
121
- **This script is to convert the official pretrained darknet model into ONNX**
0 commit comments