DirectoryParsingLabelDataset fails to read images with an alpha channel
yoshnary opened this issue · comments
Nozomu Yoshinari commented
When I tried the ImageNet training example, it failed due to DirectoryParsingLabelDataset
. ImageNet 2012 dataset has an image with an alpha channel, and DirectoryParsingLabelDataset
cannot read it. I dealt with it by adding alpha='ignore'
to the following function call.
Could you fix it in a proper way?