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
f4b66873
Unverified
Commit
f4b66873
authored
Oct 21, 2021
by
Philip Meier
Committed by
GitHub
Oct 21, 2021
Browse files
Fix warnings spotted in prototype datasets tests (#4668)
* fix category file inclusion * fix deprecated import
parent
a3541eb2
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
setup.py
setup.py
+1
-1
torchvision/prototype/datasets/utils/_dataset.py
torchvision/prototype/datasets/utils/_dataset.py
+1
-1
No files found.
setup.py
View file @
f4b66873
...
@@ -466,7 +466,7 @@ if __name__ == "__main__":
...
@@ -466,7 +466,7 @@ if __name__ == "__main__":
license
=
"BSD"
,
license
=
"BSD"
,
# Package info
# Package info
packages
=
find_packages
(
exclude
=
(
"test"
,)),
packages
=
find_packages
(
exclude
=
(
"test"
,)),
package_data
=
{
package_name
:
[
"*.dll"
,
"*.dylib"
,
"*.so"
,
"*.categories"
]},
package_data
=
{
package_name
:
[
"*.dll"
,
"*.dylib"
,
"*.so"
,
"
prototype/datasets/_builtin/
*.categories"
]},
zip_safe
=
False
,
zip_safe
=
False
,
install_requires
=
requirements
,
install_requires
=
requirements
,
extras_require
=
{
extras_require
=
{
...
...
torchvision/prototype/datasets/utils/_dataset.py
View file @
f4b66873
...
@@ -5,7 +5,7 @@ import os
...
@@ -5,7 +5,7 @@ import os
import
pathlib
import
pathlib
import
textwrap
import
textwrap
import
warnings
import
warnings
from
collections
import
Mapping
from
collections
.abc
import
Mapping
from
typing
import
(
from
typing
import
(
Any
,
Any
,
Callable
,
Callable
,
...
...
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