TypeError: label2rgb() got an unexpected keyword argument 'img' 解决方法: imgviz 版本问题,1.5.0有问题,1.2.0测试没问题 pip install -i https://pypi.tuna.tsinghua.edu.cn/simple imgviz==1.2.0