Evaluation报错无法执行成功
执行脚本: python ./tools/test.py ./local_configs/segformer/B1/segformer.b1.512x512.ade.160k.py ./checkpoints/trained/segformer.b1.512x512.ade.160k.pth 报错信息: Traceback (most recent call last): File "c:\xxxx\github\mmcv\mmcv\utils\registry.py", line 51, in build_from_cfg return obj_cls(**args) File "C:\xxxx\github\torch_env\lib\site-packages\mmseg\datasets\pipelines\test_time_aug.py", line 59, in init self.transforms = Compose(transforms) File "C:\xxxx\github\torch_env\lib\site-packages\mmseg\datasets\pipelines\compose.py", line 22, in init transform = build_from_cfg(transform, PIPELINES) File "c:\xxxx\github\mmcv\mmcv\utils\registry.py", line 44, in build_from_cfg f'{obj_type} is not in the {registry.name} registry') KeyError: 'AlignedResize is not in the pipeline registry'
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "c:\xxxx\github\mmcv\mmcv\utils\registry.py", line 51, in build_from_cfg return obj_cls(**args) File "C:\xxxx\github\torch_env\lib\site-packages\mmseg\datasets\ade.py", line 84, in init **kwargs) File "C:\xxxx\github\torch_env\lib\site-packages\mmseg\datasets\custom.py", line 88, in init self.pipeline = Compose(pipeline) File "C:\xxxx\github\torch_env\lib\site-packages\mmseg\datasets\pipelines\compose.py", line 22, in init transform = build_from_cfg(transform, PIPELINES) File "c:\xxxx\github\mmcv\mmcv\utils\registry.py", line 54, in build_from_cfg raise type(e)(f'{obj_cls.name}: {e}') KeyError: "MultiScaleFlipAug: 'AlignedResize is not in the pipeline registry'"
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "./tools/test.py", line 166, in