Unverified Commit c3062d28 authored by Philip Meier's avatar Philip Meier Committed by GitHub
Browse files

fix import order for torchvision.prototype.datasets (#4538)

parent 0c0a6a44
...@@ -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
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment