制作PASCAL VOC格式的分割数据集,生成trainval.txt, train.txt, val.txt文件
importosimportrandomfilepath=r'C:\models\research\deeplab\datasets\Headshoulder_dataset\dataset\JPEGImages'saveBasePath=r"C:\models\research\deeplab\datasets\Headshoulder_dataset\dataset"trainval_perc