Get loss on single image

So get_preds() returns predictions for a specific dataset. But is it possible to get the loss for a single image?

you can try learn.predict(img)