Code Monkey home page Code Monkey logo

mtmt's Introduction

A Multi-task Mean Teacher for Semi-supervised Shadow Detection

by Zhihao Chen, Lei Zhu, Liang Wan, Song Wang, Wei Feng, and Pheng-Ann Heng [paper link]

News: In 2020.9.17, We release the unsorted code for other researchers. The sorted code will be released after.


Citation

@inproceedings{chen20MTMT,
     author = {Chen, Zhihao and Zhu, Lei and Wan, Liang and Wang, Song and Feng, Wei and Heng, Pheng-Ann},
     title = {A Multi-task Mean Teacher for Semi-supervised Shadow Detection},
     booktitle = {CVPR},
     year = {2020}
}

Shadow detection results at test datasets

The results of shadow detection(w & w/o crf) on three datasets (SBU, UCF, ISTD) can be found at Google Drive or BaiduNetdisk(password:131b for BaiduNetdisk).

Trained Model

You can download the trained model which is reported in our paper at BaiduNetdisk(password: h52i).

Requirement

  • Python 3.6
  • PyTorch 1.3.1(After 0.4.0 would be ok)
  • torchvision
  • numpy
  • tqdm
  • PIL
  • pydensecrf (here to install)

Training

  1. Set ...
  2. Set ...
  3. Run by python train.py

The pretrained ResNeXt model is ported from the official torch version, using the convertor provided by clcarwin. You can directly download the pretrained model ported by me.

Testing

  1. Set ...
  2. Put ...
  3. Run by python test_MT.py

Useful links

UCF dataset: Google Drive or BaiduNetdisk(password:o4ub for BaiduNetdisk)

SBU dataset: BaiduNetdisk(password:38qw for BaiduNetdisk)

Part of unlabel data that collected from internet: Google Drive or BaiduNetdisk(password: n1nb for BaiduNetdisk)

mtmt's People

Contributors

erasernut avatar

Watchers

James Cloos avatar

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.