Git Product home page Git Product logo

wsal_released's Introduction

WSAL_released

This is an official implementation of the paper "Weakly Supervised Adversarial Domain Adaptation for Semantic Segmentation in Urban Scenes" (completed in October 2017, accepted by IEEE TIP in March 2019).

We plan to finish readme.md in December 2019.

Some Essential Information:

  • Pytorch 0.2
    • This work is completed in October 2017. We have no plan to upgrade it to a newer Pytorch version because of limited time.
  • Python2.7
  • TensorboardX

Simple Instruction:

  • 1 Download GTA 5, SYN, Cityscapes datasets.
  • 2 Generate object-level labels:
    • 2.1 Detect the foreground objects using DSOD.
    • 2.2 Get the background objects' locations according to segmentation masks.
    • 2.3 Merge the locations of fore/background objects.
    • 2.4 Generate SSD-style detection labels, a txt file. Each line contains filename number_of_objects xmin ymin xmax ymax .... Example:
    1.png 1 0 0 1 1 
    2.png 2 0 0 1 1 2 2 4 4
    ...
    
  • 3 Make ROI pooling.
  • 4 Train model: python run_WSAL.py.

Citing

If you use the code, please cite the following paper:

@article{gao2019scar,
  title={SCAR: Spatial-/channel-wise attention regression networks for crowd counting},
  author={Gao, Junyu and Wang, Qi and Yuan, Yuan},
  journal={Neurocomputing},
  volume={363},
  pages={1--8},
  year={2019},
  publisher={Elsevier}
}

wsal_released's People

Contributors

gjy3035 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.