Skip to content

Commit

Permalink
Fixing jit trace
Browse files Browse the repository at this point in the history
  • Loading branch information
zhiqwang committed Nov 25, 2021
1 parent a42e87b commit e9567cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion yolort/models/box_head.py
Original file line number Diff line number Diff line change
Expand Up @@ -368,7 +368,7 @@ def forward(
shape of the element is (N, A, H, W, K).
anchors_tuple (Tuple[Tensor, Tensor, Tensor]):
"""
batch_size = head_outputs[0][0]
batch_size = len(head_outputs[0])

all_pred_logits = _concat_pred_logits(head_outputs)

Expand Down

0 comments on commit e9567cc

Please sign in to comment.