Commit d8349b60 authored by Soumith Chintala's avatar Soumith Chintala
Browse files

make version.py optional to not break Hub

parent 782f014d
...@@ -3,7 +3,10 @@ from torchvision import datasets ...@@ -3,7 +3,10 @@ from torchvision import datasets
from torchvision import transforms from torchvision import transforms
from torchvision import utils from torchvision import utils
from .version import __version__ # noqa: F401 try:
from .version import __version__ # noqa: F401
except:
pass
_image_backend = 'PIL' _image_backend = 'PIL'
......
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