Skip to content
This repository was archived by the owner on Jun 4, 2025. It is now read-only.

Commit d2863d2

Browse files
authored
Fix bug in val_onnx where grid strides were consumed by generator (#93) (#94)
1 parent ca7bd4d commit d2863d2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

val_onnx.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ def get_stride(yolo_pipeline: Pipeline) -> int:
155155
if not isinstance(image_size, int):
156156
image_size = image_size[0]
157157

158-
grid_shapes = (
158+
grid_shapes = list(
159159
get_tensor_dim_shape(model.graph.output[index], 2)
160160
for index in range(1, len(model.graph.output))
161161
)

0 commit comments

Comments
 (0)