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
c3062d28
"git@developer.sourcefind.cn:OpenDAS/vision.git" did not exist on "e27b3925c9c6bbcf7605c0cf8c6119339fec0e4e"
Unverified
Commit
c3062d28
authored
Oct 05, 2021
by
Philip Meier
Committed by
GitHub
Oct 05, 2021
Browse files
fix import order for torchvision.prototype.datasets (#4538)
parent
0c0a6a44
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
torchvision/prototype/datasets/__init__.py
torchvision/prototype/datasets/__init__.py
+2
-3
No files found.
torchvision/prototype/datasets/__init__.py
View file @
c3062d28
...
@@ -7,10 +7,9 @@ except (ModuleNotFoundError, TypeError) as error:
...
@@ -7,10 +7,9 @@ except (ModuleNotFoundError, TypeError) as error:
"Note that you cannot install it with `pip install torchdata`, since this is another package."
"Note that you cannot install it with `pip install torchdata`, since this is another package."
)
from
error
)
from
error
from
.
import
decoder
,
utils
from
.
import
decoder
,
utils
from
._home
import
home
# Load this last, since some parts depend on the above being loaded first
# Load this last, since some parts depend on the above being loaded first
from
._api
import
register
,
_list
as
list
,
info
,
load
from
._api
import
register
,
_list
as
list
,
info
,
load
# usort: skip
from
._folder
import
from_data_folder
,
from_image_folder
from
._folder
import
from_data_folder
,
from_image_folder
from
._home
import
home
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