Cats vs Dogs CNN

A small convolutional neural network (Keras) that classifies photos as cat or dog.

  • Trained on microsoft/cats_vs_dogs
  • Input: RGB images resized to 64x64, pixel values divided by 255
  • Classes: 0 = cat, 1 = dog
  • Test accuracy: 0.78

Use

from tensorflow import keras
model = keras.models.load_model("cats_vs_dogs_cnn.keras")
Downloads last month
57
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Dataset used to train RahmahwithCode/cats-vs-dogs-cnn