Skip to content

Commit 432d7cd

Browse files
authored
make dygraph as home page
1 parent b78bb36 commit 432d7cd

File tree

610 files changed

+719
-719
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

610 files changed

+719
-719
lines changed

README.md

+45-75
Original file line numberDiff line numberDiff line change
@@ -1,115 +1,85 @@
11
English | [简体中文](README_CN.md)
22

3-
# PaddleSeg
3+
# PaddleSeg(Dynamic Graph)
44

55
[![Build Status](https://travis-ci.org/PaddlePaddle/PaddleSeg.svg?branch=master)](https://travis-ci.org/PaddlePaddle/PaddleSeg)
66
[![License](https://img.shields.io/badge/license-Apache%202-blue.svg)](LICENSE)
77
[![Version](https://img.shields.io/github/release/PaddlePaddle/PaddleSeg.svg)](https://github.com/PaddlePaddle/PaddleSeg/releases)
88
![python version](https://img.shields.io/badge/python-3.6+-orange.svg)
99
![support os](https://img.shields.io/badge/os-linux%2C%20win%2C%20mac-yellow.svg)
1010

11-
<img src="./docs/imgs/seg_news_icon.png" width="50"/> *[2020-12-02] PaddleSeg has released the [dynamic graph](./dygraph) version, which supports PaddlePaddle 2.0rc. For the static graph, we only fix bugs without adding new features. See detailed [release notes](./docs/release_notes.md).*
11+
Welcome to the dynamic version! PaddleSeg is the first development kit which supports PaddlePaddle 2.0. Currently, we provide an experimental version that allows developers to have full-featured experience on dynamic graph. In the near future, the dynamic version will be set as default, and the static one will be moved to "legacy" directory.
1212

13-
## Introduction
13+
The full-detailed documents and tutorials are coming soon. So far there are minimum tutorials that help you to enjoy the strengths of dynamic version.
1414

15-
PaddleSeg is an end-to-end image segmentation development kit based on PaddlePaddle, which aims to help developers in the whole process of training models, optimizing performance and inference speed, and deploying models. Currently PaddleSeg supports seven efficient segmentation models, including DeepLabv3+, U-Net, ICNet, PSPNet, HRNet, Fast-SCNN, and OCRNet, which are extensively used in both academia and industry. Enjoy your Seg journey!
15+
## Model Zoo
1616

17-
![demo](./docs/imgs/cityscapes.png)
17+
|Model\Backbone|ResNet50|ResNet101|HRNetw18|HRNetw48|
18+
|-|-|-|-|-|
19+
|[ANN](./configs/ann)|||||
20+
|[BiSeNetv2](./configs/bisenet)|-|-|-|-|
21+
|[DANet](./configs/danet)|||||
22+
|[Deeplabv3](./configs/deeplabv3)|||||
23+
|[Deeplabv3P](./configs/deeplabv3p)|||||
24+
|[Fast-SCNN](./configs/fastscnn)|-|-|-|-|
25+
|[FCN](./configs/fcn)|||||
26+
|[GCNet](./configs/gcnet)|||||
27+
|[OCRNet](./configs/ocrnet/)|||||
28+
|[PSPNet](./configs/pspnet)|||||
29+
|[UNet](./configs/unet)|-|-|-|-|
1830

19-
## Main Features
31+
## Dataset
2032

21-
- **Practical Data Augmentation Techniques**
22-
23-
PaddleSeg provides 10+ data augmentation techniques, which are developed from the product-level applications in Baidu. The techniques are able to help developers improve the generalization and robustness ability of their customized models.
24-
25-
- **Modular Design**
26-
27-
PaddleSeg supports seven popular segmentation models, including U-Net, DeepLabv3+, ICNet, PSPNet, HRNet, Fast-SCNN, and OCRNet. Combing with different components, such as pre-trained models, adjustable backbone architectures and loss functions, developer can easily build an efficient segmentation model according to their practical performance requirements.
28-
29-
- **High Performance**
30-
31-
PaddleSeg supports the efficient acceleration strategies, such as multi-processing I/O operations, and multi-GPUs parallel training. Moreover, integrating GPU memory optimization techniques in the PaddlePaddle framework, PaddleSeg significantly reduces training overhead of the segmentation models, which helps developers complete the segmentation tasks in a high-efficient way.
32-
33-
- **Industry-Level Deployment**
34-
35-
PaddleSeg supports the industry-level deployment in both **server** and **mobile devices** with the high-performance inference engine and image processing ability, which helps developers achieve the high-performance deployment and integration of segmentation model efficiently. Particularly, using another paddle tool [Paddle-Lite](https://github.com/PaddlePaddle/Paddle-Lite), the segmentation models trained in PaddleSeg are able to be deployed on mobile/embedded devices quickly and easily.
36-
37-
- **Rich Practical Cases**
38-
39-
PaddleSeg provides rich practical cases in industry, such as human segmentation, mechanical meter segmentation, lane segmentation, remote sensing image segmentation, human parsing, and industry inspection, etc. The practical cases allow developers to get a closer look at the image segmentation area, and get more hand-on experiences on the real practice.
33+
- [x] Cityscapes
34+
- [x] Pascal VOC
35+
- [x] ADE20K
36+
- [ ] Pascal Context
37+
- [ ] COCO stuff
4038

4139
## Installation
4240

43-
### 1. Install PaddlePaddle
41+
1. Install PaddlePaddle
4442

4543
System Requirements:
46-
* PaddlePaddle >= 1.7.0 and < 2.0
47-
* Python >= 3.5+
44+
* PaddlePaddle >= 2.0.0rc
45+
* Python >= 3.6+
4846

49-
> Note: the above requirements are for the **static** graph version. If you intent to use the dynamic one, please refers to [here](./dygraph).
47+
> Note: the above requirements are for the **dynamic** graph version. If you intent to use the static one, please refers to [here](../README.md).
5048
5149
Highly recommend you install the GPU version of PaddlePaddle, due to large overhead of segmentation models, otherwise it could be out of memory while running the models.
5250

53-
For more detailed installation tutorials, please refer to the official website of [PaddlePaddle](https://www.paddlepaddle.org.cn/install/quick)
51+
For more detailed installation tutorials, please refer to the official website of [PaddlePaddle](https://www.paddlepaddle.org.cn/documentation/docs/zh/2.0-beta/install/index_cn.html)
5452

55-
### 2. Download PaddleSeg
53+
54+
### Download PaddleSeg
5655

5756
```
5857
git clone https://github.com/PaddlePaddle/PaddleSeg
5958
```
6059

61-
### 3. Install Dependencies
60+
### Install Dependencies
6261
Install the python dependencies via the following commands,and please make sure execute it at least once in your branch.
63-
```
62+
```shell
6463
cd PaddleSeg
64+
export PYTHONPATH=`pwd`
65+
# Run the following one on Windows
66+
# set PYTHONPATH=%cd%
6567
pip install -r requirements.txt
6668
```
6769

68-
## Tutorials
69-
70-
For a better understanding of PaddleSeg, we provide comprehensive tutorials to show the whole process of using PaddleSeg on model training, evaluation and deployment. Besides the basic usages of PaddleSeg, the design insights will be also mentioned in the tutorials.
71-
72-
### Quick Start
73-
74-
* [PaddleSeg Start](./docs/usage.md)
75-
76-
### Basic Usages
77-
78-
* [Customized Data Preparation](./docs/data_prepare.md)
79-
* [Scripts and Config Guide](./docs/config.md)
80-
* [Data and Config Verification](./docs/check.md)
81-
* [Segmentation Models](./docs/models.md)
82-
* [Pretrained Models](./docs/model_zoo.md)
83-
* [DeepLabv3+ Tutorial](./tutorial/finetune_deeplabv3plus.md)
84-
85-
### Inference and Deployment
86-
87-
* [Model Export](./docs/model_export.md)
88-
* [Python Inference](./deploy/python/)
89-
* [C++ Inference](./deploy/cpp/)
90-
* [Paddle-Lite Mobile Inference & Deployment](./deploy/lite/)
91-
* [PaddleServing Inference & Deployment](./deploy/paddle-serving)
92-
93-
94-
### Advanced features
95-
96-
* [Data Augmentation](./docs/data_aug.md)
97-
* [Loss Functions](./docs/loss_select.md)
98-
* [Practical Cases](./contrib)
99-
* [Multiprocessing and Mixed-Precision Training](./docs/multiple_gpus_train_and_mixed_precision_train.md)
100-
* Model Compression ([Quantization](./slim/quantization/README.md), [Distillation](./slim/distillation/README.md), [Pruning](./slim/prune/README.md), [NAS](./slim/nas/README.md))
101-
70+
## Quick Training
71+
```shell
72+
python train.py --config configs/quick_start/bisenet_optic_disc_512x512_1k.yml
73+
```
10274

103-
### Online Tutorials
75+
## Tutorials
10476

105-
We further provide a few online tutorials in Baidu AI Studio:[Get Started](https://aistudio.baidu.com/aistudio/projectdetail/100798), [U-Net](https://aistudio.baidu.com/aistudio/projectDetail/102889), [DeepLabv3+](https://aistudio.baidu.com/aistudio/projectDetail/226703), [Industry Inspection](https://aistudio.baidu.com/aistudio/projectdetail/184392), [HumanSeg](https://aistudio.baidu.com/aistudio/projectdetail/475345), [More](https://aistudio.baidu.com/aistudio/projectdetail/226710).
77+
* [Get Started](./docs/quick_start.md)
78+
* [Data Preparation](./docs/data_prepare.md)
79+
* [Training Configuration](./configs/)
80+
* [Add New Components](./docs/add_new_model.md)
10681

10782

10883
## Feedbacks and Contact
109-
* If your question is not answered properly in [FAQ](./docs/faq.md) or you have an idea on PaddleSeg, please report an issue via [Github Issues](https://github.com/PaddlePaddle/PaddleSeg/issues).
84+
* The dynamic version is still under development, if you find any issue or have an idea on new features, please don't hesitate to contact us via [GitHub Issues](https://github.com/PaddlePaddle/PaddleSeg/issues).
11085
* PaddleSeg User Group (QQ): 850378321 or 793114768
111-
112-
113-
## Contributing
114-
115-
All contributions and suggestions are welcomed. If you want to contribute to PaddleSeg,please summit an issue or create a pull request directly.

0 commit comments

Comments
 (0)