Efficient Segmentation Networks
1.0.0
该项目旨在为使用Pytorch的实时语义分割模型提供易于使用的可修改参考实现。

在运行脚本之前,需要安装Pytorch和Torchvision ,支持Pytorch V1.1或更高版本。
pip3 install -r requirements.txt该项目支持这些语义分割模型如下:
该项目支持这些损失功能:
- 加权交叉熵
- 加权交叉熵,标签光滑
- 局部损失
- OHEM交叉熵
- lovaszsoftmax
- Segloss列表
- ...
该项目支持这些优化器:
- SGD
- 亚当
- adamw
- radam
- radam + lookahead
- ...
- relu
- prelu
- relu6
- 转
- Mish:自我正规化的非单调神经激活功能
- ...
该项目支持这些LR_SCHEDULERS:
- 多衰变
- 热身poly
- ...
- 现场激活的batchnorm
- 可切换归一化
- 体重标准化
- ...
- 注意家庭
- NAS家族
- ...
- Pytorch-Opcounter
- flops-counter.pytorch
- Netron:神经网络模型的可视化器,在线URL:Netron
- falshtorch:Pytorch神经网络的可视化工具包!
- 与卷积神经网络的图像分类的技巧袋
- ...
该项目是针对CityScapes和Camvid数据集进行了量身定制的。数据集的折叠需要满足以下结构:
|-- dataset
| |-- camvid
| | |-- train
| | |-- trainannot
| | |-- val
| | |-- valannot
| | |-- test
| | |-- testannot
| | |-- ...
| |-- cityscapes
| | |-- leftImg8bit
| | | |-- train
| | | |-- val
| | | |-- test
| | |-- gtFine
| | | |-- train
| | | |-- val
| | | |-- test
| | |-- ...
git clone https://github.com/xiaoyufenfei/Efficient-Segmentation-Networks
cd Efficient-Segmentation-Networks
目前,代码支持Python 3
火炬依赖性:
数据依赖性:
下载CityScapes并运行脚本createTrainIdLabelImgs.py以根据培训标签创建注释。确保文件夹命名为CityScapes
python train.py --help
python train.py --help
python test.py --help
python predict.py --help
cd tools
python trainID2labelID.py
如果您认为这项工作有用,请给我一颗星星!如果您发现任何错误或有任何建议,请与我联系。
github: xiaoyufenfei电子邮件: [email protected]
如果这项工作有助于您的研究,则鼓励您引用以下论文。
@misc{Efficient-Segmentation-Networks,
author = {Yu Wang},
title = {Efficient-Segmentation-Networks Pytorch Implementation},
year = {2019},
publisher = {GitHub},
journal = {GitHub repository},
howpublished = { u rl{https://github.com/xiaoyufenfei/Efficient-Segmentation-Networks}},
commit = {master}
}该项目根据麻省理工学院许可发布。有关其他详细信息,请参见许可证。