Skip to content

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

3 Commits

Folders and files

Repository files navigation

Use-CNNs-to-enhance-computer-vision-Google-Tutorial

Google Tutorial Link: https://developers.google.com/codelabs/tensorflow-4-cnns#0

Fashion MNIST CNN Visualization

This project explores how a Convolutional Neural Network processes images using the Fashion MNIST dataset.

The goal is not only to train a model, but also to understand what happens inside the CNN by visualizing feature maps from different convolution and pooling layers.

Project Overview

In this project, I built a CNN using TensorFlow and Keras to classify Fashion MNIST images. Fashion MNIST contains grayscale images of clothing items such as shirts, shoes, bags, and ankle boots.

The model uses:

  • Conv2D layers to learn visual patterns such as edges, curves, and textures
  • MaxPooling2D layers to reduce image size while keeping important features
  • Flatten to convert feature maps into a 1D vector
  • Dense layers to classify the image into one of 10 categories

Model Architecture

model2 = tf.keras.models.Sequential([
    tf.keras.layers.Conv2D(64, (3,3), activation='relu', input_shape=(28, 28, 1)),
    tf.keras.layers.MaxPooling2D(2, 2),
    tf.keras.layers.Conv2D(64, (3,3), activation='relu'),
    tf.keras.layers.MaxPooling2D(2, 2),
    tf.keras.layers.Flatten(),
    tf.keras.layers.Dense(128, activation='relu'),
    tf.keras.layers.Dense(10, activation='softmax')
])

My Google Colab link

https://colab.research.google.com/drive/1LZWxHkvVnvZE2ntAm3AeOH0pUoVn5jt9?usp=sharing

Acknowledgment

I have a lot of explanations written in my Google Colab, and most of them coming from the tutoring link, ChatGPT, and Google Search.
All rights and credits belong directly to the owner. No copyright infringement intended.

This project is intended strictly for educational and academic purposes. Please enjoy and try out the project yourself.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages