Giter VIP home page Giter VIP logo

claudiotancredi / real-time-domain-adaptation-in-semantic-segmentation Goto Github PK

View Code? Open in Web Editor NEW
6.0 1.0 1.0 35.16 MB

"Advanced Machine Learning" project @ Politecnico di Torino, a.y. 2021/2022.

Python 22.65% Jupyter Notebook 77.35%
cityscapes gta5 bisenet domain-adaptation semantic-segmentation machine-learning polito lab fda pseudo-labeling self-supervised-learning depthwise-separable-convolutions resnet-101 adversarial-training

real-time-domain-adaptation-in-semantic-segmentation's Introduction

AML 2021/2022 "Real-time Domain Adaptation in Semantic Segmentation" Project

This repository includes the full code and the paper of the project for the final exam of "Advanced Machine Learning" course @ Politecnico di Torino.

Code

The code contains:

  1. An implementation of a real-time semantic segmentation network, BiSeNet (Bilateral Segmentation Network), that can exploit two different backbones, ResNet-101 or ResNet-18;
  2. An implementation of an unsupervised adversarial domain adaptation algorithm;
  3. A variation of the unsupervised adversarial domain adaptation algorithm with lightweight depthwise-separable convolutions for the adversarial discriminator, which significantly reduce the total number of parameters and the total number of Floating Point Operations (FLOPS) of the model, making it suitable for mobile and/or embedded devices;
  4. Two image-to-image transformations, to improve domain adaptation:
    • FDA;
    • LAB;
  5. Generation of pseudo labels for the target domain, to further enhance domain adaptation;
  6. A combination of LAB transformation and pseudo labels generation for the target domain.

Datasets

Notebooks

The notebook "Real-time Domain Adaptation in Semantic Segmentation.ipynb" includes all the results, except for the last one that is in the "Real-time Domain Adaptation in Semantic Segmentation (2).ipynb" notebook.

real-time-domain-adaptation-in-semantic-segmentation's People

Contributors

claudiotancredi avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

rachid856

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.