There are several options you can try. One of them could be to just add a third channel with all values the same, or just add a layer in the beginning that goes from 2 to 3 channels. Thanks for your suggestion.