https://github.com/j911/deeplabv3plus-for-beginners
DeepLabV3Plus for Beginners in Cityscapes Dataset
https://github.com/j911/deeplabv3plus-for-beginners
cityscapes deeplabv3plus pytorch segmentation
Last synced: 6 months ago
JSON representation
DeepLabV3Plus for Beginners in Cityscapes Dataset
- Host: GitHub
- URL: https://github.com/j911/deeplabv3plus-for-beginners
- Owner: J911
- Created: 2020-01-10T11:15:04.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2020-01-30T02:52:06.000Z (over 5 years ago)
- Last Synced: 2025-03-24T14:21:21.220Z (7 months ago)
- Topics: cityscapes, deeplabv3plus, pytorch, segmentation
- Language: Python
- Homepage:
- Size: 92.8 KB
- Stars: 22
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# DeepLabV3Plus for Beginners
Encoder-Decoder with Atrous Separable Convolution for Semantic Image Segmentation> simple version(w/o inplace_abn) is [here](https://github.com/J911/DeepLabV3Plus-for-Beginners/tree/without_inplace_abn)
## Support & Requirements
- pytorch >= 1.1.0
- tensorboardX
- CUDA >= 10.0
- SyncBN support(inplace_abn)## Install Inplace_abn
```bash
$ pip install git+https://github.com/mapillary/inplace_abn.git@v1.0.10
```## Train
git clone & change DIR
```bash
$ git clone https://github.com/J911/DeepLabV3Plus-for-Beginners
$ cd DeepLabV3Plus-for-Beginners
```
run 🙌🙌
```bash
$ python -m torch.distributed.launch --nproc_per_node ${num of GPUs} train.py --data /data/CITYSCAPES --batch-size 16 --epoch 200 --logdir ./logs/exp1/ --save ./saved_model/exp1/
```## Evaluate
```bash
$ python -m torch.distributed.launch --nproc_per_node 1 evaluate.py --data /data/CITYSCAPES --weight ./saved_model/exp1/epoch200.pth --num-classes 19
```## Dataset
This Repository uses Cityscapes Dataset.
```
CITYSCAPES
|-- leftImg8bit
| |-- test
| |-- train
| `-- val
`-- gtFine
|-- test
|-- train
`-- val
```## Result
TBD
## Thanks to
- @speedinghzl - Gain a lot of Insight 🙇🏻♂️
- @mapillary - using inplace_abn