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
mmdetection3d
Commits
cac7cecd
Commit
cac7cecd
authored
Sep 18, 2020
by
zhangwenwei
Browse files
Update mmdet3d version with git hash
parent
e25e30fc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
mmdet3d/utils/collect_env.py
mmdet3d/utils/collect_env.py
+4
-1
No files found.
mmdet3d/utils/collect_env.py
View file @
cac7cecd
...
@@ -2,12 +2,15 @@ from mmcv.utils import collect_env as collect_base_env
...
@@ -2,12 +2,15 @@ from mmcv.utils import collect_env as collect_base_env
from
mmcv.utils
import
get_git_hash
from
mmcv.utils
import
get_git_hash
import
mmdet
import
mmdet
import
mmdet3d
def
collect_env
():
def
collect_env
():
"""Collect the information of the running environments."""
"""Collect the information of the running environments."""
env_info
=
collect_base_env
()
env_info
=
collect_base_env
()
env_info
[
'MMDetection'
]
=
mmdet
.
__version__
+
'+'
+
get_git_hash
()[:
7
]
env_info
[
'MMDetection'
]
=
mmdet
.
__version__
env_info
[
'MMDetection3D'
]
=
mmdet3d
.
__version__
+
'+'
+
get_git_hash
()[:
7
]
return
env_info
return
env_info
...
...
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