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
48de5289
Unverified
Commit
48de5289
authored
May 26, 2021
by
Vasilis Vryniotis
Committed by
GitHub
May 26, 2021
Browse files
[FBcode->GH] Add check_stride=False (#3920)
parent
f5843099
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 @
48de5289
...
...
@@ -834,7 +834,7 @@ class Tester(unittest.TestCase):
output
=
trans
(
accimage
.
Image
(
GRACE_HOPPER
))
self
.
assertEqual
(
expected_output
.
size
(),
output
.
size
())
torch
.
testing
.
assert_close
(
output
,
expected_output
)
torch
.
testing
.
assert_close
(
output
,
expected_output
,
check_stride
=
False
)
@
unittest
.
skipIf
(
accimage
is
None
,
'accimage not available'
)
def
test_accimage_resize
(
self
):
...
...
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