Return the predicted score for a specific image

Hello everyone !

I am quite new to the Deep Learning community and just started fast.ai lesson 1 from Part 1.

When predicting whether an image was a cat or a dog, I was wondering how could I get the score for a specific picture of the dataset.

For instance, after the NN went through the validation folder, what lines do I have to type to return the score of this image “dog.10516.jpg” ?

Thank you for your help !!

Jeremie

Hello Jeremie,

check this out: How do we use our model against a specific image?

2 Likes