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
bf3ab297
Commit
bf3ab297
authored
Dec 21, 2018
by
surgan12
Committed by
Soumith Chintala
Dec 20, 2018
Browse files
interpolations added (#693)
parent
59802fa1
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
torchvision/transforms/transforms.py
torchvision/transforms/transforms.py
+2
-0
No files found.
torchvision/transforms/transforms.py
View file @
bf3ab297
...
@@ -34,6 +34,8 @@ _pil_interpolation_to_str = {
...
@@ -34,6 +34,8 @@ _pil_interpolation_to_str = {
Image
.
BILINEAR
:
'PIL.Image.BILINEAR'
,
Image
.
BILINEAR
:
'PIL.Image.BILINEAR'
,
Image
.
BICUBIC
:
'PIL.Image.BICUBIC'
,
Image
.
BICUBIC
:
'PIL.Image.BICUBIC'
,
Image
.
LANCZOS
:
'PIL.Image.LANCZOS'
,
Image
.
LANCZOS
:
'PIL.Image.LANCZOS'
,
Image
.
HAMMING
:
'PIL.Image.HAMMING'
,
Image
.
BOX
:
'PIL.Image.BOX'
,
}
}
...
...
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