Testing Model

Is there any way to test my model within the code? I’m using Google Colab and wondering if I can upload a file and use some sort of command to classify the thing I’m looking at, without uploading it to Render or something. Thanks!

The easiest way is probably to download the image from a site as if I remember correctly, uploading to a google colab is not so easy. I think you can connect to google storage?

Oh, uploading is very easy. You just have to click the upload button on the right. The thing I’m wondering about is if there’s a command or something that I can use to test that image.

I found the solution.

img = open_image(‘path/to/image/thisImg.jpg’)
test = learn.predict(img)
print(test)

Thanks!