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
d8349b60
Commit
d8349b60
authored
Apr 08, 2019
by
Soumith Chintala
Browse files
make version.py optional to not break Hub
parent
782f014d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
torchvision/__init__.py
torchvision/__init__.py
+4
-1
No files found.
torchvision/__init__.py
View file @
d8349b60
...
...
@@ -3,7 +3,10 @@ from torchvision import datasets
from
torchvision
import
transforms
from
torchvision
import
utils
from
.version
import
__version__
# noqa: F401
try
:
from
.version
import
__version__
# noqa: F401
except
:
pass
_image_backend
=
'PIL'
...
...
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