I concatenate a mask image to a normal RGB picture making .jpg file become .png file with alpha channel.
And I do make sure the 4 channels image loaded properly. But the total loss is always nan while the rpn_cls rpn_box loss_cls and loss_box is an ordinary float as usual.
I concatenate a mask image to a normal RGB picture making .jpg file become .png file with alpha channel.
And I do make sure the 4 channels image loaded properly. But the total loss is always nan while the rpn_cls rpn_box loss_cls and loss_box is an ordinary float as usual.
Anyone has idea about this problem? Thanks~