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):
th, tw = output_size
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:
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