Giter Site home page Giter Site logo

podyapolskiy / cnns-on-cifar10 Goto Github PK

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

A project is a second part of Introduction to Machine Learning course. Here the problem is image recognition on CIFAR10 dataset using 2 different approaches: simple model and transfer learning using pretrained model.

Jupyter Notebook 100.00%
cifar10 cnn dl ml nn pytorch resnet50v2 torchvision

cnns-on-cifar10's Introduction

Task 2: Image Classification with CNNs (50%)

In this task, you'll dive into the world of Convolutional Neural Networks (CNNs) by working with the CIFAR-10 dataset, a staple in image classification challenges. Your goal is to build and evaluate two different CNN models to classify images into one of the ten categories accurately.

The dataset is availabel in pytorch and keras.

Part 1: Custom CNN Model (20%)

  • Design and train a CNN model from scratch tailored for the CIFAR-10 dataset.
  • Focus on the architecture that you believe will perform best for this specific task.
  • Integrate various techniques such as batch normalization, dropout, learning rate schedulers, and early stopping to improve model training. Experiment with these methods and finetune them to see how they affect training stability, convergence speed, and overall performance.

Part 2: Transfer Learning Model (20%)

  • Implement a transfer learning approach using a pre-trained model of your choice.
  • Fine-tune the model on the CIFAR-10 dataset to achieve the best possible performance.

Evaluation (10%)

Ensure that both models are robust and generalized well to unseen data.

After training both models, you will evaluate them on a provided test dataset.

Compare your models based on:

  • AUC-ROC: How well does each model discriminate between classes?
  • Model Size: Consider the trade-offs in model complexity.
  • Inference Speed: Evaluate how quickly your model can predict classes for new images.

Reflect on the performance, size, and inference speed of both models. What insights can you draw from these comparisons?

Learning Objectives

  • Understand and apply CNNs for image classification.
  • Explore the impact of model architecture on performance and efficiency.
  • Learn the process and benefits of transfer learning in deep learning.

Remember, the key to this task is not just about achieving the highest accuracy but also understanding the strengths and limitations of different approaches in machine learning model development.

cnns-on-cifar10's People

Contributors

podyapolskiy 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.