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
8648132c
Commit
8648132c
authored
Sep 14, 2017
by
Alykhan Tejani
Committed by
GitHub
Sep 14, 2017
Browse files
Merge pull request #255 from pytorch/revert-247-fix_random_and_center_crop_docs
Revert "Fix random and center crop docs"
parents
f69298d4
93838805
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
torchvision/transforms.py
torchvision/transforms.py
+2
-2
No files found.
torchvision/transforms.py
View file @
8648132c
...
@@ -207,7 +207,7 @@ class CenterCrop(object):
...
@@ -207,7 +207,7 @@ class CenterCrop(object):
Args:
Args:
size (sequence or int): Desired output size of the crop. If size is an
size (sequence or int): Desired output size of the crop. If size is an
int instead of sequence like (
w
,
h
), a square crop (size, size) is
int instead of sequence like (
h
,
w
), a square crop (size, size) is
made.
made.
"""
"""
...
@@ -286,7 +286,7 @@ class RandomCrop(object):
...
@@ -286,7 +286,7 @@ class RandomCrop(object):
Args:
Args:
size (sequence or int): Desired output size of the crop. If size is an
size (sequence or int): Desired output size of the crop. If size is an
int instead of sequence like (
w
,
h
), a square crop (size, size) is
int instead of sequence like (
h
,
w
), a square crop (size, size) is
made.
made.
padding (int or sequence, optional): Optional padding on each border
padding (int or sequence, optional): Optional padding on each border
of the image. Default is 0, i.e no padding. If a sequence of length
of the image. Default is 0, i.e no padding. If a sequence of length
...
...
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