Skip to content

detsikas/MResTNet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages