AI-For-Beginners/translations/en/lessons/4-ComputerVision/07-ConvNets/lab
leestott fe3a988395 🌐 Update translations via Co-op Translator 2025-08-31 18:43:44 +00:00
..
PetFaces.ipynb 🌐 Update translations via Co-op Translator 2025-08-31 18:43:44 +00:00
README.md 🌐 Update translations via Co-op Translator 2025-08-31 18:43:44 +00:00

README.md

Classification of Pets Faces

Lab Assignment from AI for Beginners Curriculum.

Task

Imagine you need to develop an application for a pet nursery to catalog all pets. One of the key features of such an application would be automatically identifying the breed from a photograph. This can be effectively achieved using neural networks.

Your task is to train a convolutional neural network to classify different breeds of cats and dogs using the Pet Faces dataset.

The Dataset

We will use the Pet Faces dataset, which is derived from the Oxford-IIIT pets dataset. It includes 35 different breeds of dogs and cats.

Dataset we will deal with

To download the dataset, use this code snippet:

!wget https://mslearntensorflowlp.blob.core.windows.net/data/petfaces.tar.gz
!tar xfz petfaces.tar.gz
!rm petfaces.tar.gz

Starting Notebook

Begin the lab by opening PetFaces.ipynb

Takeaway

You have tackled a fairly complex problem of image classification from scratch! Despite the large number of classes, you were able to achieve reasonable accuracy! Its also a good idea to measure top-k accuracy, as some classes can be easily confused, even by humans, due to their subtle differences.


Disclaimer:
This document has been translated using the AI translation service Co-op Translator. While we aim for accuracy, please note that automated translations may include errors or inaccuracies. The original document in its native language should be regarded as the authoritative source. For critical information, professional human translation is advised. We are not responsible for any misunderstandings or misinterpretations resulting from the use of this translation.