Giter Site home page Giter Site logo

mrestnet's Introduction

MResTNet

The MResTNet architecture is a deep learning network that achieves state of the art performance for the semantic segmentation task in the real-time domain. The architecture is the following

The architecture is described in detail in the paper "MResTNet: A Multi-resolution Transformer framework with CNN extensions for Semantic Segmentation" by Nikolaos Detsikas , Nikolaos Mitianoudis and Ioannis Pratikakis (Electrical and Computer Engineering Department, Democritus University of Thrace, University Campus Xanthi-Kimmeria, Xanthi 67100, Greece).

Code structure

The code consists of the following directories.

Directory Description
mrestnet/ The model architectural blocks
segm/ Training and evaluation scripts as well supporting code for the training and evaluation pipeline

Datasets

The architecture is trained and evaluated in the Cityscapes and the ADE20K datasets.

Training

The model can be trained with various arguments and configuration combinations. The followg is a typical command for training the model with the Cityscapes dataset

python -m segm.train --log-dir output_directory --dataset cityscapes --backbone vit_tiny_patch16_384 --decoder mask_transformer --pretrained-params-file pretrained_models/Ti_16-i21k-300ep-lr_0.001-aug_none-wd_0.03-do_0.0-sd_0.0--imagenet2012-steps_20k-lr_0.03-res_384.npz

MIoU evaluation

The model can be evaluated with respect to the MIoU metric with the following command

python -m segm.eval.miou output_directory/checkpoint.pth cityscapes --save-images --no-blend

Copyright notice

The training and evaluation pipelines (not the model) are largely based on the following work
https://github.com/rstrudel/segmenter
Copyright (c) 2021 Robin Strudel
Copyright (c) INRIA

mrestnet's People

Contributors

detsikas avatar

Watchers

 avatar

mrestnet's Issues

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.