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
0bbb1aa3
"packaging/vscode:/vscode.git/clone" did not exist on "4625408a4b16a6bca1f739741c254c9618d0d41d"
Commit
0bbb1aa3
authored
Jun 14, 2018
by
csukuangfj
Committed by
Francisco Massa
Jun 14, 2018
Browse files
fix #530. (#531)
parent
50b2f910
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
torchvision/transforms/transforms.py
torchvision/transforms/transforms.py
+1
-1
No files found.
torchvision/transforms/transforms.py
View file @
0bbb1aa3
...
...
@@ -93,7 +93,7 @@ class ToPILImage(object):
3. If the input has 1 channel, the ``mode`` is determined by the data type (i,e,
``int``, ``float``, ``short``).
.. _PIL.Image mode: http://pillow.readthedocs.io/en/
3.4.x
/handbook/concepts.html#modes
.. _PIL.Image mode: http
s
://pillow.readthedocs.io/en/
latest
/handbook/concepts.html#
concept-
modes
"""
def
__init__
(
self
,
mode
=
None
):
self
.
mode
=
mode
...
...
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