Commit 0811db01 authored by panning's avatar panning
Browse files

update dcu_version

parent afdca1a1
...@@ -16,7 +16,10 @@ try: ...@@ -16,7 +16,10 @@ try:
from .version import __version__ # noqa: F401 from .version import __version__ # noqa: F401
except ImportError: except ImportError:
pass pass
try:
from .version import __dcu_version__ # noqa: F401
except ImportError:
pass
# Check if torchvision is being imported within the root folder # Check if torchvision is being imported within the root folder
if (not _HAS_OPS and os.path.dirname(os.path.realpath(__file__)) == if (not _HAS_OPS and os.path.dirname(os.path.realpath(__file__)) ==
os.path.join(os.path.realpath(os.getcwd()), 'torchvision')): os.path.join(os.path.realpath(os.getcwd()), 'torchvision')):
......
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