最新2022版mmsegmentation安装之后在验证时报错
运行这一句时
python demo/image_demo.py demo/demo.png pspnet_r50-d8_512x1024_40k_cityscapes.py pspnet_r50-d8_512x1024_40k_cityscapes_20200605_003338-2966598c.pth --device cpu --out-file result.jpg
改成
python demo/image_demo.py demo/demo.png pspnet_r50-d8_512x1024_40k_cityscapes.py pspnet_r50-d8_512x1024_40k_cityscape
s_20200605_003338-2966598c.pth --device cuda:0 --out-file result.jpg
就可以运行啦