Giter Club home page Giter Club logo

deepdrive_course's Introduction

This repository contains homework projects developed as a part of Deepdrive image classification course.

List of the projects

Click on a chapter number to go to the notebooks and results for a given chapter.

Chapter Task Main libraries
02 Perform basic data visualization of MNIST-like dataset numpy
03 Train very simple CNN model for classification of MNIST-like dataset PyTorch
04 Apply various regularization techniques to improve model from the previous chapter PyTorch Ligthning (PL), Weights & Biases (W&B)
05 Training from scratch vs Transfer Learning for satellite image classification on RESISC45 dataset PyTorch Image Models (TIMM), PL, W&B
06 Improve models from previous chapter using data augmentation Albumentations, PL, TIMM, W&B
07 Run hyperparameter optimization (e.g. Optuna) on models from the two previous chapters Optuna, PL, TIMM, W&B
08 Interpretability analysis (e.g. occlusion sensitivity and GradCAM) for models from chapters 05-07 Captum, PL, TIMM, W&B
09 Run Self-Supervised Learning (SSL) on unlabeled dataset as a pretraining for supervised model Lightly, PL, TIMM, W&B
10 Binary classification with imbalanced dataset (incorporating weighted loss and balanced accuracy) PL, TIMM, W&B, FiftyOne
11 Model optimization (e.g. pruning or quantization) Intel Neural Compressor, PyTorch
12 Demo deployment of one of the models developed in the previous chapters Gradio, PyTorch

deepdrive_course library

The part of the code was put into the deepdrive_course library to reuse the code and make the notebooks more readable.

Running notebooks in Google Colab

All notebooks using deepdrive_course library have the following snippet in the beginning.

import sys
in_colab = "google.colab" in sys.modules

if in_colab:
  !git clone https://github.com/abojda/deepdrive_course.git dd_course
  !pip install dd_course/ -q

If notebook is run from the Google Colab, this reposity is automatically cloned and library is installed.

Running notebooks locally

To run notebooks locally, deepdrive_course must be installed by hand.

1. Clone this repository

git clone https://github.com/abojda/deepdrive_course.git`

2. Install library

pip install -e deepdrive_course/ # Dev install

or

pip install deepdrive_course/    # Regular install

It is recommended to use virtual environment (venv, conda, ...) to avoid dependency conflicts with other projects.

deepdrive_course's People

Contributors

abojda avatar

Stargazers

Hrushikesh Pawar avatar  avatar Uday avatar  avatar  avatar Karol Majek avatar

Watchers

 avatar

Forkers

deepdrivepl

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.