在PaddleSeg数据准备,LabelMe标注教程中所遇到的问题,无法生存对应的真值图片。
Created by: eddieheyutong
我在看这个LabelMe教程的时候按照操作可以运行labelme2seg.py然后对文件夹中的事例图像“2011_000025.jpg”进行数据转换想要通过该图像和对应的.json文件生成像素真值图像,但是现在遇到的问题是我运行这个labelme2seg.py脚本后可以生成JPEGImages和SegmentationClassPNG这两个文件夹,以及class_names.txt这个文件,但是两个文件中没有文件生成,calssname中的类别名称也只有background一种,想知道一下这个是什么原因导致的?以下是我执行的代码和输出的结果: 执行命令: python labelme2seg.py home/zhengyuan/PaddleSeg/docs/annotation/data_annotated/ output 终端的返回: Creating dataset: output class_names: ('background',) Saved class_names: output/class_names.txt 然后这两个文件夹内为空,classnametxt类别名称只有background