项目
在 GitHub 查看
AvivSham/DeepLabv3
关于
Implementation of DeepLabV3 paper using Pytorch
人工智能与机器学习实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- 0
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文DeepLabv3
In this repository we reproduce the DeepLabv3 paper which can be found here: Rethinking Atrous Convolutions The DeepLabv3 model expects the feature extracting architecture to be ResNet50 or ResNet101 so this repository will also contain the code of the ResNet50 and ResNet101 architecture. We will also release colab notebook and pretrained models.
How to use
- This repository comes in with a handy notebook which you can use with Colab.
You can find a link to the notebook here: DeepLabv3
Open it in colab: Open in Colab
- Clone the repository and cd into it
git clone https://github.com/AvivSham/DeepLabv3.git
cd DeepLabv3/
- Use this command to train the model
python3 init.py --mode train -iptr path/to/train/input/set/ -lptr /path/to/label/set/ --cuda False -nc <number_of_classes>
- Use this command to test the model
python3 init.py --mode test -m /path/to/model.pth -i /path/to/image.png -nc <number_of_classes>
- Use
--helpto get more commands
python3 init.py --help
- If you want to download the cityscapes dataset
sh ./datasets/dload.sh cityscapes <your_username> <your_password>
- If you want to download the PASCAL VOC 2012 datasets
sh ./datasets/dload.sh pascal
Results
Pascal VOC 2012
CityScapes
References
- Rethinking Atrous Convolutions
- Encoder-Decoder with Atrous Separable Convolution for Semantic Image Segmentation
License
The code in this repository is free to use and to modify with proper linkage back to this repository.
探索相关项目
加载中…