Shortcuts

Source code for mmrotate.utils.collect_env

# Copyright (c) OpenMMLab. All rights reserved.
from mmcv.utils import collect_env as collect_basic_env
from mmcv.utils import get_git_hash

import mmrotate


[docs]def collect_env(): """Collect environment information.""" env_info = collect_basic_env() env_info['MMRotate'] = ( mmrotate.__version__ + '+' + get_git_hash(digits=7)) return env_info
if __name__ == '__main__': for name, val in collect_env().items(): print(f'{name}: {val}')
Read the Docs v: stable
Versions
latest
stable
1.x
v1.0.0rc0
v0.3.4
v0.3.3
v0.3.2
v0.3.1
v0.3.0
v0.2.0
v0.1.1
v0.1.0
main
dev
Downloads
pdf
html
epub
On Read the Docs
Project Home
Builds

Free document hosting provided by Read the Docs.