切分:(下面是Windows系统下的)
python .\seg_ds.py --img .\影像\wf1.tif --shp .\标注矢量\greenhouse_1.shp --output .\dataset --field class --size 1024 --lap 128 --th 0.1
python .\seg_ds.py --img .\影像\wf2.tif --shp .\标注矢量\greenhouse_2.shp --output .\dataset --field class --size 1024 --lap 128 --th 0.1
python .\seg_ds.py --img .\影像\wf3.tif --shp .\标注矢量\greenhouse_3.shp --output .\dataset --field class --size 1024 --lap 128 --th 0.1
切分:(下面是Linux系统下的)
python ./seg_ds.py --img ./影像/wf1.tif --shp ./标注矢量/greenhouse_1.shp --output ./dataset --field class --size 1024 --lap 128 --th 0.1
python ./seg_ds.py --img ./影像/wf2.tif --shp ./标注矢量/greenhouse_2.shp --output ./dataset --field class --size 1024 --lap 128 --th 0.1
python ./seg_ds.py --img ./影像/wf3.tif --shp ./标注矢量/greenhouse_3.shp --output ./dataset --field class --size 1024 --lap 128 --th 0.1
创建训练集验证集
windows下
python .\seg_txt.py --path .\dataset --trainp 0.8
举例:python .\seg_txt.py --path E:\Potsdam\postdam_process --trainp 0.8
Linux下
python ./seg_txt.py --path ./dataset --trainp 0.8
用于paddleseg的数据准备部分的代码
需积分: 0 65 浏览量
2023-02-13
14:59:19
上传
评论
收藏 7KB ZIP 举报
![avatar](https://profile-avatar.csdnimg.cn/2cfe7315d10749a1b601f43a4467ba22_littleyy666.jpg!1)
weightOneMillion
- 粉丝: 716
- 资源: 4
最新资源
- docker配置文件daemon.json
- 贪吃蛇(个体自动追踪).zip
- c语言文件读写操作代码.rar
- MySQL的安装和配置的基本步骤.rar
- 一个简单的学生信息管理系统实现代码.rar
- AutoHotKey 2.0中文帮助文件
- 基于Docker-compose的Elasticsearch集群每个节点均是独立docker-compose配置而成源码.zip
- 目标检测-零售食品LOGO检测数据集-40000张图-+对应VOC-COCO-YOLO三种格式标签+数据集划分脚本
- 目标检测-零售食品LOGO检测数据集-30000张图-+对应VOC-COCO-YOLO三种格式标签+数据集划分脚本
- 目标检测-零售食品LOGO检测数据集-20000张图-+对应VOC-COCO-YOLO三种格式标签+数据集划分脚本
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
![feedback](https://img-home.csdnimg.cn/images/20220527035711.png)
![feedback](https://img-home.csdnimg.cn/images/20220527035711.png)
![feedback-tip](https://img-home.csdnimg.cn/images/20220527035111.png)