Shortcuts

Source code for mmdet3d.utils.collect_env

# Copyright (c) OpenMMLab. All rights reserved.
import mmdet
from mmengine.utils import get_git_hash
from mmengine.utils.dl_utils import collect_env as collect_base_env

import mmdet3d


[docs]def collect_env(): """Collect the information of the running environments.""" env_info = collect_base_env() env_info['MMDetection'] = mmdet.__version__ env_info['MMDetection3D'] = mmdet3d.__version__ + '+' + get_git_hash()[:7] from mmdet3d.models.layers.spconv import IS_SPCONV2_AVAILABLE env_info['spconv2.0'] = IS_SPCONV2_AVAILABLE 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
v1.4.0
v1.3.0
v1.2.0
v1.1.1
v1.1.0
v1.0.0rc1
v1.0.0rc0
v0.18.1
v0.18.0
v0.17.3
v0.17.2
v0.17.1
v0.17.0
v0.16.0
v0.15.0
v0.14.0
v0.13.0
v0.12.0
v0.11.0
v0.10.0
v0.9.0
dev-1.x
dev
Downloads
epub
On Read the Docs
Project Home
Builds

Free document hosting provided by Read the Docs.