Commit 95d5f333 authored by xiabo's avatar xiabo
Browse files

适配版本号

parent 3a5ea28f
# Copyright (c) OpenMMLab. All rights reserved.
__version__ = '2.0.0'
__dcu_version__ = '2.0.0'
def parse_version_info(version_str: str, length: int = 4) -> tuple:
"""Parse a version string into a tuple.
......@@ -32,4 +32,4 @@ def parse_version_info(version_str: str, length: int = 4) -> tuple:
version_info = tuple(int(x) for x in __version__.split('.')[:3])
__all__ = ['__version__', 'version_info', 'parse_version_info']
__all__ = ['__version__', '__dcu_version__', 'version_info', 'parse_version_info']
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