Pytorch-UNet
Pytorch-UNet copied to clipboard
How to resolve "KeyError: ((1, 1, 6), '|u1')"?
Hi,
I have used my own data set, that is all the ".tiff" images, the "n_channels" is 3, the "n_classes" is 6. However, when I run the "python train.py --amp", the following errors appear:
Could you pls help to give me some suggestions? Thanks!
what about your mask dataset, it should be single channel image
So mask is grayscale?
@JenniferYingyiWu2020 Have you solved the problem yet?