MNIST CNN Classifier

This model is a Convolutional Neural Network trained on the MNIST dataset to classify handwritten digits (0–9).

Model Architecture

  • 2 Convolutional layers
  • ReLU activations
  • Max pooling
  • Fully connected classifier
  • Dropout for regularization

Usage

from inference import load_model, predict
import numpy as np

model = load_model("mnist_cnn.pth")

image = np.zeros((28, 28))
prediction = predict(image, model)
print(prediction)
Downloads last month

-

Downloads are not tracked for this model. How to track
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support