[go: up one dir, main page]

Skip to content

Commit

Permalink
Fix bug in val_onnx where grid strides were consumed by generator (#93)…
Browse files Browse the repository at this point in the history
… (#94)
  • Loading branch information
corey-nm authored Aug 22, 2022
1 parent ca7bd4d commit d2863d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion val_onnx.py
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ def get_stride(yolo_pipeline: Pipeline) -> int:
if not isinstance(image_size, int):
image_size = image_size[0]

grid_shapes = (
grid_shapes = list(
get_tensor_dim_shape(model.graph.output[index], 2)
for index in range(1, len(model.graph.output))
)
Expand Down

0 comments on commit d2863d2

Please sign in to comment.