Skip to content

Latest commit

Β 

History

5 Commits

Folders and files

NameName
Last commit message
Last commit date
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Digit Recognizer & Image Classification (CNN)

This repository contains two folders of Convolutional Neural Networks (CNNs) applied to different classification tasks.

πŸ“ Project Structure

Digit-Recognizer/
β”‚
β”œβ”€β”€ ai_vs_real/
β”‚   └── source.py
β”‚
β”œβ”€β”€ digit_recogn/
β”‚   └── source.py

πŸ”Ή 1. Pixel CNN (Digit Recognizer)

  • CNN model applied to pixel-based data (numerical vectors)
  • Does not use .jpg images, but preprocessed pixel values
  • Similar to classic digit recognition problems (e.g. MNIST)

Features:

  • Input: pixel vectors
  • Model: simple CNN
  • Task: digit classification

πŸ”Ή 2. Image CNN (Real vs AI Art)

  • CNN model applied to real images (.jpg)

  • Classifies images into:

    • 0 β†’ real art
    • 1 β†’ AI-generated art

Features:

  • Input: RGB images
  • Preprocessing: resizing, augmentations
  • Model: multi-layer CNN
  • Metric: F1-score

βš™οΈ Technologies Used

  • Python
  • PyTorch
  • Pandas
  • NumPy
  • PIL

πŸš€ How to Run

  1. Install dependencies:
pip install torch torchvision pandas pillow scikit-learn
  1. Run the desired script:
python source.py

🧠 Purpose

This repository explores:

  • the difference between numerical and image-based inputs
  • how CNNs behave in different contexts
  • a full pipeline: dataset β†’ model β†’ evaluation

πŸ“Œ Note

This code is intended for learning and experimentation purposes and is not fully optimized for production use.


About

CNN -> mnist digit dataset

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages