-
Bug
-
Resolution: Done
-
Normal
-
None
-
None
-
None
-
False
-
-
False
-
-
++++ python import_test.py mmsegmentation
Import test of mmsegmentation via importing mmseg failed.
No module named 'mmcv'
mmcv ( https://github.com/open-mmlab/mmcv ) isn't in our registries at all. Also, during the testing, there seems to be an issue, and use of the latest mmcv doesn't work:
pip install --extra-index-url https://pypi.org/simple mmcv >>> import mmseg Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/opt/app-root/vnva/lib64/python3.12/site-packages/mmseg/__init__.py", line 61, in <module> assert (mmcv_min_version <= mmcv_version < mmcv_max_version), \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AssertionError: MMCV==2.2.0 is used but incompatible. Please install mmcv>=2.0.0rc4.
Installation of exactly 2.0.0rc4 works:
pip install --extra-index-url https://pypi.org/simple mmcv==2.0.0rc4 >>> import mmseg >>>
- is related to
-
AIPCC-8777 Terratorch and Mmseg import fails for RHAIIS 3.3 collections on ROCM and CUDA env
-
- Closed
-