Could you post the shape of your input?
The model should generally work for [batch_size, 1, 224, 224]-shaped inputs (at least if you remove the kwargs argument, as I’m not sure, if you are passing something in it).