Skip to content

Commit

Permalink
Minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
zhiqwang committed Feb 4, 2022
1 parent 8bc3e78 commit 3394321
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion yolort/models/transform.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@ def _tracing_item_onnx(v: Tensor) -> int:
def _resize_image_and_masks(
image: Tensor,
new_shape: Tuple[int, int],
*,
target: Optional[Dict[str, Tensor]] = None,
) -> Tuple[Tensor, Optional[Dict[str, Tensor]]]:
if torchvision._is_tracing():
Expand Down

0 comments on commit 3394321

Please sign in to comment.