We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fc18542 commit 9293be7Copy full SHA for 9293be7
test/test_transforms.py
@@ -1672,7 +1672,7 @@ def test_random_crop():
1672
1673
t = transforms.RandomCrop(48)
1674
img = torch.ones(3, 32, 32)
1675
- with pytest.raises(ValueError, match=r"Required crop size .+ is larger then input image size .+"):
+ with pytest.raises(ValueError, match=r"Required crop size .+ is larger than input image size .+"):
1676
t(img)
1677
1678
0 commit comments