Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
vision
Commits
9293be7e
"src/vscode:/vscode.git/clone" did not exist on "46a0c6aa820233ca7c103db5659f41a3efb44228"
Unverified
Commit
9293be7e
authored
Jul 22, 2022
by
Nicolas Hug
Committed by
GitHub
Jul 22, 2022
Browse files
Minor typo fix in tests (#6297)
parent
fc18542a
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
test/test_transforms.py
test/test_transforms.py
+1
-1
No files found.
test/test_transforms.py
View file @
9293be7e
...
@@ -1672,7 +1672,7 @@ def test_random_crop():
...
@@ -1672,7 +1672,7 @@ def test_random_crop():
t
=
transforms
.
RandomCrop
(
48
)
t
=
transforms
.
RandomCrop
(
48
)
img
=
torch
.
ones
(
3
,
32
,
32
)
img
=
torch
.
ones
(
3
,
32
,
32
)
with
pytest
.
raises
(
ValueError
,
match
=
r
"Required crop size .+ is larger th
e
n input image size .+"
):
with
pytest
.
raises
(
ValueError
,
match
=
r
"Required crop size .+ is larger th
a
n input image size .+"
):
t
(
img
)
t
(
img
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment