dongzhang89 / SR-SS

Implementation for paper: Self-Regulation for Semantic Segmentation
31 stars 4 forks source link

Self-Regulation for Semantic Segmentation

This is the PyTorch implementation for paper Self-Regulation for Semantic Segmentation, ICCV 2021.

SR

Contact

Installation Instructions

Usage

Demo

Test on a single image could be done by running:

python demo.py --img_path path --model path/weight

You can get a similar image as:

input

Train

Training your own model could be done by running:

python trainval.py

Test

Testing your trained model could be done by running:

python test.py --model=path/model

TensorboardX

Monitor your training process with tensorboardX. Run:

tensorboard --logdir=$DEEPLAB_V2_PYTORCH/logs/loss_lr/lr --port=7001

Then open your firefox or chrome, and visit localhost:7001.

Acknowledgement

This project heavily relies on the following projects:

Citing SR-SS

You may want to cite:

@article{zhang2021sr,
  title={Self-Regulation for Semantic Segmentation},
  author={Dong, Zhang and Hanwang, Zhang and Jinhui, Tang and Xiansheng, Hua and Qianru, Sun},
  journal={International Conference on Computer Vision (ICCV)},
  year={2021}
}