Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Jan 31, 2022
1 parent 80ce846 commit 4f124b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion yolort/models/transform.py
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ def batch_images(self, images: List[Tensor]) -> Tensor:
dw = dw % self.size_divisible
dw = int(round(dw / 2 - 0.1))

pad_img[: channel, dh : dh + img_h, dw : dw + img_w].copy_(img)
pad_img[:channel, dh : dh + img_h, dw : dw + img_w].copy_(img)

return batched_imgs

Expand Down

0 comments on commit 4f124b4

Please sign in to comment.