The mmcv library is installed under the "../python3.7/site-packages/mmcv" directory. If you get in the directory and go the "../mmcv/utils/init.py" file and search for "get_git_hash" function, you won't find it, that's why you get this error. So you have to delete the mmcv ...
但官网现在mmcv升级到了2.0,如果直接装2.0的话会导致代码里很多函数不匹配,具体可以看https://github.com/open-mmlab/mmcv/pull/2217/commits 简单来说我们PSPtrain.py里line10 from mmcv import Config, DictAction from mmcv.runner import get_dist_info, init_dist from mmcv.utils import get_git_hash 这几...
python -c "from mmcv.utils import collect_env; print(collect_env())" Traceback (most recent call last): File "<string>", line 1, in <module> File "/home/zuppif/integration-object-detection-icevision/.venv/lib/python3.9/site-packages/mmcv/utils/env.py", line 87, in collect_env from...
Prerequisite I have searched Issues and Discussions but cannot get the expected help. The bug has not been fixed in the latest version(https://github.com/open-mmlab/mmcv). Environment 'sys.platform', 'linux' 'Python', '3.8.16 default, Ju...
smart-open Utils for streaming large files (S3, HDFS, GCS, Azure Blob Storage, gzip, bz2...) 20 bottleneck Fast NumPy array functions written in C 20 django-import-export Django application and library for importing and exporting data with included admin integration. 20 automat Self-service fi...
Prerequisite I have searched Issues and Discussions but cannot get the expected help. The bug has not been fixed in the latest version(https://github.com/open-mmlab/mmcv). Environment OrderedDict([('sys.platform', 'linux'), ('Python', '3...