i'm using mmsegmentation1.12.0 to get flops of the models.
when i run the commond provided by the author "python tools/analysis_tools/get_flops.py ${CONFIG_FILE} [--shape ${INPUT_SHAPE}]"
there is an error occur:
"
File "d:/graduation project/mmsegmentation-main/mmsegmentation/tools/analysis_tools/get_flops.py", line 12, in
from mmseg.models import BaseSegmentor
File "c:\users\sgiit\mmsegmentation\mmseg__init__.py", line 58, in
assert (mmcv_min_version <= mmcv_version < mmcv_max_version), \
AssertionError: MMCV==2.1.0 is used but incompatible. Please install mmcv>=(1, 3, 13, 0, 0, 0), <(1, 7, 0, 0, 0, 0).
"
it seems like this file was remained from mmsegmentation0.x.
why the author didn't fix this bug?
i'm using mmsegmentation1.12.0 to get flops of the models. when i run the commond provided by the author "python tools/analysis_tools/get_flops.py ${CONFIG_FILE} [--shape ${INPUT_SHAPE}]" there is an error occur: " File "d:/graduation project/mmsegmentation-main/mmsegmentation/tools/analysis_tools/get_flops.py", line 12, in
from mmseg.models import BaseSegmentor
File "c:\users\sgiit\mmsegmentation\mmseg__init__.py", line 58, in
assert (mmcv_min_version <= mmcv_version < mmcv_max_version), \
AssertionError: MMCV==2.1.0 is used but incompatible. Please install mmcv>=(1, 3, 13, 0, 0, 0), <(1, 7, 0, 0, 0, 0).
"
it seems like this file was remained from mmsegmentation0.x.
why the author didn't fix this bug?