houqb/SPNet
houqb/SPNet has 415 GitHub stars and 57 forks. GitHot measured 0 stars in 24 hours. Last checked 2026-11-09 12:48 UTC. Last push 2020-06-10.
Code for our CVPR2020 paper "Strip Pooling: Rethinking Spatial Pooling for Scene Parsing"
Measured star growth
- in 24h
- 0
- in 7 days
- Collecting history
- in 15 days
- Collecting history
- in 1 month
- Collecting history
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
README.md
OriginalStrip Pooling: Rethinking Spatial Pooling for Scene Parsing
This repository is a PyTorch implementation for our CVPR2020 paper (non-commercial use only).
The results reported in our paper are originally based on PyTorch-Encoding but the environment settings are a little bit complicated. To ease use, we reimplement our work based on semseg.
Strip Pooling

Usage
Before training your own models, we recommend you to refer to the instructions described here. Then, you need to update the dataset paths in the configuration files.
Four GPUs with at least 11G memory on each are required for synchronized training. PyTorch (>=1.0.1) and Apex are required for Sync-BN support. For apex, just follow the "Quick Start" part to install it.
For pretrained models, you can download them from here (resnet50 and resnet101) or my google drive. Then, create a new folder "pretrained" and put the pretrained models in it, like
mkdir pretrained
mv downloaded_pretrained_model ./pretrained/
For training, just run
sh tool/train.py dataset_name model_name
For instance, in our case, you can run
sh tool/train.py ade20k spnet50
For test,
sh tool/test.py dataset_name model_name
At present, multi-GPU test is not supported. Will implement it later.
We believe designing more complicated strip pooling module also benefits to the model performance.
Contact
If you are interested in this work and want to further investigate the techniques of pooling, you are welcome to contact me via [email protected].
Citation
You may want to cite:
@inproceedings{hou2020strip,
title={{Strip Pooling}: Rethinking Spatial Pooling for Scene Parsing},
author={Hou, Qibin and Zhang, Li and Cheng, Ming-Ming and Feng, Jiashi},
booktitle={CVPR},
year={2020}
}
@misc{semseg2019,
author={Zhao, Hengshuang},
title={semseg},
howpublished={\url{https://github.com/hszhao/semseg}},
year={2019}
}
Explore related projects
codecrafters-io/build-your-own-x
Master programming by recreating your favorite technologies from scratch.
561,321 starspublic-apis/public-apis
A collective list of free APIs
497,564 starsmorluto/rea
Reverse engineer anything with agents, from app behavior down to native binaries.
446,472 starsopenclaw/openclaw
The AI that really does things. Any OS. Any Platform. The lobster way. 🦞
394,245 stars