S ScienceFairProjects.info
Hard⏱ time3 hr$ cost0

Cats vs Dogs Classifier

Train an image model to tell cats from dogs and test it on your own photos.

Start building ↓
fig — working model Result first

The build

Step 01

Load images

Gather labelled cat and dog photos.

Step 02

Build a CNN

Stack convolution and pooling layers.

Step 03

Train

Fit the model over several epochs.

Step 04

Test

Upload a new pet photo and predict.

Working Principle

Convolution layers learn visual features — edges, fur, ears — and combine them to decide whether a photo is more cat-like or dog-like.

The science behind it

A closer look

CNNs detect patterns regardless of position; deeper layers learn increasingly complex shapes from the pixels.

Take it further

Variables to test

  • 1 Try a blurry photo — still right?
  • 2 Add a few examples of your own pet.

More AI