Skip to content

Commit

Permalink
Fix pre-commit.ci
Browse files Browse the repository at this point in the history
  • Loading branch information
zhiqwang committed Oct 24, 2021
1 parent ce91bce commit b9dbbb2
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 @@ -226,7 +226,7 @@ def build_targets(
targets: Tensor,
head_outputs: List[Tensor],
anchor_grids: Tensor,
) -> Tuple[List[Tensor], List[Tensor], List[Tuple[Tensor, Tensor, Tensor, Tensor]], List[Tensor],]:
) -> Tuple[List[Tensor], List[Tensor], List[Tuple[Tensor, Tensor, Tensor, Tensor]], List[Tensor]]:
device = targets.device
num_anchors = self.num_anchors

Expand Down

0 comments on commit b9dbbb2

Please sign in to comment.