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
249e1a98
Unverified
Commit
249e1a98
authored
Apr 07, 2021
by
Aditya Oke
Committed by
GitHub
Apr 07, 2021
Browse files
Remove unused imports (#3639)
parent
88c16391
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
3 deletions
+2
-3
torchvision/models/_utils.py
torchvision/models/_utils.py
+0
-1
torchvision/ops/boxes.py
torchvision/ops/boxes.py
+1
-1
torchvision/transforms/functional_pil.py
torchvision/transforms/functional_pil.py
+1
-1
No files found.
torchvision/models/_utils.py
View file @
249e1a98
from
collections
import
OrderedDict
import
torch
from
torch
import
nn
from
typing
import
Dict
...
...
torchvision/ops/boxes.py
View file @
249e1a98
import
torch
from
torch
import
Tensor
from
typing
import
List
,
Tuple
from
typing
import
Tuple
from
._box_convert
import
_box_cxcywh_to_xyxy
,
_box_xyxy_to_cxcywh
,
_box_xywh_to_xyxy
,
_box_xyxy_to_xywh
import
torchvision
from
torchvision.extension
import
_assert_has_ops
...
...
torchvision/transforms/functional_pil.py
View file @
249e1a98
...
...
@@ -3,7 +3,7 @@ from typing import Any, List, Sequence
import
numpy
as
np
import
torch
from
PIL
import
Image
,
ImageOps
,
ImageEnhance
,
ImageFilter
,
__version__
as
PILLOW_VERSION
from
PIL
import
Image
,
ImageOps
,
ImageEnhance
,
__version__
as
PILLOW_VERSION
try
:
import
accimage
...
...
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