« All Events
12 PM – AI and Machine Learning – Gamas
May 4 @ 12:00 pm - 1:00 pm
Today We Did
- We created fast.ai vision_learner model that can identify cat or dog images.
Homework
- Try uploading some cat images, some dogs images and some frog images. And observe, the prediction result particularly the last number in the result. For example below is the result of uploading a dog image. observe the `9.9997e-01`
prediction = cat_vs_dog_model.predict(file_name)
print(prediction)
- If you run the above code, you will get result similar like below.
- (‘dog’, tensor(1), tensor([2.9470e-05, 9.9997e-01]))
- What numbers you get when you upload cat images?
- What numbers you get when you upload dog images?
- What numbers you get when you upload frog images?
- Create a github.com account if you don’t already have one.