How to skip metrics in fastai learner during inference?

Hi All,

I encountered the following error with fastai segmentation learner during the inference stage:

Is there a way to bypass such errors by skipping the metrics computation during the inference stage with fastai? These metrics seems irrelevant to me while scoring the data with the model.

Any tips or suggestions would be greatly appreciated.

Thank you.