Skip to content

Commit f114d20

Browse files
committed
Update README.md
1 parent 88d0b3e commit f114d20

File tree

1 file changed

+57
-1
lines changed

1 file changed

+57
-1
lines changed

README.md

Lines changed: 57 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,57 @@
1-
###PSPNet
1+
## Pyramid Scene Parsing Network
2+
3+
by Hengshuang Zhao, Jianping Shi, Xiaojuan Qi, Xiaogang Wang, Jiaya Jia, details are in [project page](http://www.cse.cuhk.edu.hk/~hszhao/projects/pspnet/index.html).
4+
5+
### Introduction
6+
7+
This repository is modified from Caffe version of [yjxiong](https://github.com/yjxiong/caffe/tree/mem) and [DeepLab v2](https://bitbucket.org/aquariusjay/deeplab-public-ver2) for testing. Trainable code will be available later.
8+
9+
### Usage
10+
11+
1. Clone the repository:
12+
13+
```shell
14+
git clone https://github.com/hszhao/PSPNet.git
15+
```
16+
17+
2. Build Caffe and matcaffe
18+
19+
```shell
20+
cd $PSPNET_ROOT
21+
make -j8 && make matcaffe
22+
```
23+
24+
3. Testing
25+
26+
Evaluation code is in folder 'evaluation'.
27+
28+
Download trained models and put it in folder 'evaluation/model/':
29+
30+
pspnet50_ADE20K.caffemodel: [link](https://drive.google.com/open?id=0BzaU285cX7TCN1R3QnUwQ0hoMTA)
31+
32+
pspnet101_VOC2012.caffemodel: [link](https://drive.google.com/open?id=0BzaU285cX7TCNVhETE5vVUdMYk0)
33+
34+
pspnet101_cityscapes.caffemodel: [link](https://drive.google.com/open?id=0BzaU285cX7TCT1M3TmNfNjlUeEU)
35+
36+
Modify the related paths in 'eval_all.m':
37+
38+
```shell
39+
cd evaluation
40+
vim eval_all.m
41+
```
42+
43+
Run the testing scripts:
44+
45+
```
46+
./run.sh
47+
```
48+
49+
4. Results: (single scale testing denotes as 'ss' and multiple scale testing denotes as 'ms')
50+
51+
- PSPNet50 on ADE20K valset (mIoU/pAcc): 41.68/80.04 (ss) and 42.78/80.76 (ms)
52+
- PSPNet101 on VOC2012 testset (mIoU): 85.41 (ms)
53+
- PSPNet101 on cityscapes valset (mIoU/pAcc): 79.70/96.38 (ss) and 80.91/96.59 (ms)
54+
55+
### Questions
56+
57+
Please contact 'hszhao@cse.cuhk.edu.hk'

0 commit comments

Comments
 (0)