PaddleX icon indicating copy to clipboard operation
PaddleX copied to clipboard

使用api转换成coco格式后,训练时加载不进去

Open jianxin123 opened this issue 2 years ago • 1 comments

先是使用命令paddlex --data_conversion --source labelme --to MSCOCO --pics /home/hcxh/Data/electric_meter/electric_images --annotations /home/hcxh/Data/electric_meter/electric_annotations --save_dir /home/hcxh/Data/electric_meter/electric_voc 将数据集转为coco 标注的是线 然后paddlex --split_dataset --format COCO --dataset_dir /home/hcxh/Data/electric_meter/electric_voc --val_value 0.1 划分数据集 最后得到图中的数据集,但在代码中加载不进去 显示 No coco record found in %s' % (ann_file)。 我看转后的json和小度熊不太一样,多了annotations.json,小度熊是可以的,还希望大佬能帮帮忙,谢谢

@FlyingQianMM Screenshot from 2022-06-16 16-32-23 Screenshot from 2022-06-16 16-32-31

jianxin123 avatar Jun 16 '22 08:06 jianxin123

我又尝试了标注多边形是可以训练的,是不是目前paddle还不支持对于线的实例分割

jianxin123 avatar Jun 16 '22 08:06 jianxin123