【mmseg 运行自定义数据集 提示‘MYDataset is not in the dataset registry‘】

mmseg 运行自定义数据集 提示’MYDataset is not in the dataset registry’

按照https://blog.csdn.net/weixin_45619383/article/details/119256404博客配置,运行时候报错,只需要在当前文件夹下面

python setup.py install

运行一下就可以了。

2、ValueError: size shape must match input shape. Input is 2D, size is 3

数据集中的真值mask是三通道,改为单通道即可。

你可能感兴趣的:(pytorch编程,图像分割,python,开发语言,图像处理)