GithubHelp home page GithubHelp logo

1181110317 / ssl_ctt Goto Github PK

View Code? Open in Web Editor NEW
8.0 3.0 3.0 918 KB

This repository contains the official implementation of the following manuscript: Hui Xiao, Li Dong, Hao Xu, Shuibo Fu, Diqun Yan, Kangkang Song, and Chengbin Peng. "Semi-supervised Semantic Segmentation with Cross Teacher Training." Neurocomputing 508 (2022): 36-46.

Python 100.00%
semantic-segmentation semi-supervised-segmentation

ssl_ctt's Introduction

SSL_CTT

This repository contains the official implementation of the following manuscript: Hui Xiao, Li Dong, Hao Xu, Shuibo Fu, Diqun Yan, Kangkang Song, and Chengbin Peng. "Semi-supervised semantic segmentation with cross teacher training." Neurocomputing 508 (2022): 36-46.
Neurocomputing, arxiv.

This code is based on ClassMix code

Abstract. Convolutional neural networks can achieve remarkable performance in semantic segmentation tasks. However, such neural network approaches heavily rely on costly pixel-level annotation. Semi-supervised learning is a promising resolution to tackle this issue, but its performance still far falls behind the fully supervised counterpart. This work proposes a cross-teacher training framework with three modules that significantly improves traditional semi-supervised learning approaches. The core is a cross-teacher module, which could simultaneously reduce the coupling among peer networks and the error accumulation between teacher and student networks. In addition, we propose two complementary contrastive learning modules. The high-level module can transfer high-quality knowledge from labeled data to unlabeled ones and promote separation between classes in feature space. The low-level module can encourage low-quality features learning from the high-quality features among peer networks. In experiments, the cross-teacher module significantly improves the performance of traditional student–teacher approaches, and our framework outperforms state-of-the-art methods on benchmark datasets.

img

Prerequisites

  • CUDA/CUDNN
  • Python3
  • Packages found in requirements.txt

Datasets

mkdir ../dataset/CityScapes/

Download the dataset from here.

Pascal VOC 2012

mkdir ../dataset/VOC2012/

Download the dataset from here.

Experiments

For example, for Cityscapes with deeplabv2:

python3 cross_teacher_contr.py --config ./configs/configCityscapes.json --name deeplabv2_city

For example, for PASCAL VOC with deeplabv2:

python3 cross_teacher_contr.py --config ./configs/configVOC.json --name deeplabv2_voc

For example, for PASCAL VOC with deeplabv3+:

python3 cross_teacher_deeplabv3+.py --config ./configs/configCityscapes.json --name voc

Citation

@article{xiao2022semi,
  title={Semi-supervised semantic segmentation with cross teacher training},
  author={Xiao, Hui and Dong, Li and Xu, Hao and Fu, Shuibo and Yan, Diqun and Song, Kangkang and Peng, Chengbin},
  journal={Neurocomputing},
  volume={508},
  pages={36--46},
  year={2022},
  publisher={Elsevier}
}

ssl_ctt's People

Contributors

1181110317 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

ssl_ctt'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.