Giter Site home page Giter Site logo

vae's Introduction

Variational Autoencoders for Image Classification ๐Ÿค–๐Ÿ‘š

Python TensorFlow Machine Learning

This repository contains implementations of Variational Autoencoders (VAE) and their application in image classification tasks, primarily focusing on the Fashion MNIST dataset.

Features ๐ŸŒŸ

  • Implements Variational Autoencoders (VAE) for generating and reconstructing images.
  • Utilizes TensorFlow and Keras for building and training models.
  • Supports dimensionality reduction for improving image classification using K-Nearest Neighbors (KNN).
  • Includes detailed performance evaluation with confusion matrices and classification reports.
  • Provides visualizations of training losses, latent spaces, and generated images.

Setup and Installation ๐Ÿ› ๏ธ

  1. Clone the repository.
  2. Install the necessary dependencies using pip install -r requirements.txt.
  3. Ensure TensorFlow with GPU support is installed if GPU processing is desired.

Datasets ๐Ÿ“

The primary dataset used is Fashion MNIST, which includes 60,000 training images and 10,000 testing images of 10 fashion categories.

Training the Model ๐Ÿš€

  • Execute the VAE training script to learn latent representations of images.
  • The model automatically performs image reconstruction and generation.

Image Classification ๐Ÿงช

  • Use the encoded representations from VAE as features for training a KNN classifier.
  • Evaluate the classifier's performance using the test dataset and calculate various metrics like accuracy, precision, recall, and F1-score.

Results and Evaluation ๐Ÿ“Š

  • Check the output directory for training logs, model checkpoints, and generated images.
  • Review the classification reports and confusion matrices to understand model performance.

Contributing ๐Ÿค

Contributions, issues, and feature requests are welcome! Feel free to check the issues page.

License ๐Ÿ“œ

This project is available under the MIT License. See the LICENSE file for more details.

Acknowledgements ๐Ÿ™Œ

  • TensorFlow and Keras documentation for providing extensive guides and API documentation.
  • Fashion MNIST dataset creators for providing a benchmark dataset for image classification tasks.

For more details, please visit the GitHub repository.

vae's People

Contributors

mjahmadee avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.