Git Product home page Git Product logo

asanet's Introduction

Affinity Space Adaptation for Semantic Segmentation Across Domains


Pytorch implementation of the paper "Affinity Space Adaptation for Semantic Segmentation Across Domains", TIP, 2020. In this paper, we address the problem of unsupervised domain adaptation (UDA) in semantic segmentation, achieving the state-of-the-art performance on standard benchmarks.

Paper

If you find this paper useful in your research, please consider citing:

@ARTICLE{9184275,
  author={W. {Zhou} and Y.{Wang} and J. {Chu} and J. {Yang} and X. {Bai} and Y. {Xu}},
  journal={IEEE Transactions on Image Processing}, 
  title={Affinity Space Adaptation for Semantic Segmentation Across Domains}, 
  year={2020},
  volume={},
  number={},
  pages={1-1},}

Example Results

Quantitative Reuslts

  1. Comparison Results on Cityscapes when adapted from GTA5 in terms of per-class IoU and mIoU over 19 class.
  2. Comparison Results on Cityscapes when adapted from SYTNTHIA in terms of per-class IoU and mIoU over 13 or 16 class.

Usage

Datasets

Initial Weights

Initial weights and trained models can be downloaded from here. [Google Drive] [Baidu Drive (download code: 9lov) ].
Put the weights in the "ASANet/pretrained" directory.

Training Script:

bash scripts/train_gta2city.sh

Testing Scripts:

bash scripts/evaluate.sh

Contact

Thanks for your attention! If you have any suggestion or question, you can leave a message here or contact us directly:

asanet's People

Contributors

idealwei avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

asanet's Issues

关于Loss_ASC

您好,我没有看到loss_asc在代码中的体现,这个不是完整代码吗?能否提供完整代码

有关实验结果的问题

hello, 我们按照论文的设定和代码中参数的设定,权衡项是0.001,学习率也是按照论文的设定,但是在GTA->City的结果中只得到了40的mIOU, 这是训练的结果,期待得到您的回复。

Pixel accuracy: 0.851451

Mean accuracy: 0.516196

Mean IU: 40.65

16-class IU: 44.62

13-class IU: 49.74

road 87.33
sidewalk 30.47
building 76.44
wall 20.54
fence 20.05
pole 26.78
light 32.65
sign 14.14
vegetation 82.18
terrain 23.43
sky 71.57
person 58.57
rider 16.28
car 83.15
truck 32.0
bus 36.12
train 2.91
motocycle 33.08
bicycle 24.63
Total time: 88.50917916093022 seconds
Cofusion cost: 7.03373147174716

#关于实验结果的问题

hello, 我们按照论文的设定和代码中参数的设定,权衡项是0.001,学习率也是按照论文的设定,但是在GTA->City的结果中只得到了40的mIOU, 这是训练的结果,期待得到您的回复。

Pixel accuracy: 0.851451

Mean accuracy: 0.516196

Mean IU: 40.65

16-class IU: 44.62

13-class IU: 49.74

road 87.33
sidewalk 30.47
building 76.44
wall 20.54
fence 20.05
pole 26.78
light 32.65
sign 14.14
vegetation 82.18
terrain 23.43
sky 71.57
person 58.57
rider 16.28
car 83.15
truck 32.0
bus 36.12
train 2.91
motocycle 33.08
bicycle 24.63
Total time: 88.50917916093022 seconds
Cofusion cost: 7.03373147174716

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.