Giter Site home page Giter Site logo

jiang-feiyu / deep-learning-image-classification Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 3.27 MB

This is code of Assignment and Project of HKU ELEC4542 (Introduction to deep learning for computer vision)

License: Apache License 2.0

Jupyter Notebook 100.00%

deep-learning-image-classification's Introduction

Deep-learning-Image-Classification.

This is the code of HKU ELEC4542: Introduction to Deep Learning for Computer Vision

Assignment 2: SimpleCNN

This code implements a simple CNN for hand-written digit classification

Image Classification

  • Train an image classification model on CIFAR dataset with ResNet-18.
  • Use different data augmentation techniques and different ways to avoid overfitting.
  • Use class activation map to analyze the feature maps of the classification model.
  • Train an image classification model on CIFAR dataset with Vision Transformers (ViT).

Project: Image Classification

Train an image classification model on CIFAR dataset with ResNet-18. Report the classification accuracy on the test set.

  • For this project, I use the CIFAR10 dataset. It consists of 60000 32x32 color images in 10 classes, with 6000 images per class. ResNet-18 is a convolutional neural network that is 18 layers deep.

Use different data augmentation techniques and different ways to avoid overfitting. Report the classification accuracy on the test set with different types of data augmentations.

  • Data Augmentation is simply creating variations of training data to increases its size at the same time regularizes the network. Some common data augmentation techniques in image classification include
    • Random Flips and Rotations
    • Random Crop and Center Crop
    • Normalizing the image
    • ...
  • The choice of data augmentation techniques depends on the specific characteristics of the dataset and the problem at hand. It’s often beneficial to experiment with different combinations of augmentation techniques to find the ones that work best.

Visualize the class activation maps of the trained models.

deep-learning-image-classification's People

Contributors

jiang-feiyu 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.