"git@developer.sourcefind.cn:OpenDAS/bitsandbytes.git" did not exist on "7bfe923ce8d7b9791b7f392c7f0b6754f203261c"
Unverified Commit d1cfff65 authored by Zachariah Carmichael's avatar Zachariah Carmichael Committed by GitHub
Browse files

Fix typo in error message (#6291)

parent 3db30442
...@@ -629,7 +629,7 @@ class RandomCrop(torch.nn.Module): ...@@ -629,7 +629,7 @@ class RandomCrop(torch.nn.Module):
th, tw = output_size th, tw = output_size
if h + 1 < th or w + 1 < tw: if h + 1 < th or w + 1 < tw:
raise ValueError(f"Required crop size {(th, tw)} is larger then input image size {(h, w)}") raise ValueError(f"Required crop size {(th, tw)} is larger than input image size {(h, w)}")
if w == tw and h == th: if w == tw and h == th:
return 0, 0, h, w return 0, 0, h, w
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment