Yolov-1-TX2上用YOLOv3训练自己数据集的流程(VOC2007-TX2-GPU)
Yolov--2--一文全面了解深度学习性能优化加速引擎---TensorRT
Yolov--3--TensorRT中yolov3性能优化加速(基于caffe)
yolov-5-目标检测:YOLOv2算法原理详解
yolov--8--Tensorflow实现YOLO v3
yolov--9--YOLO v3的剪枝优化
yolov--10--目标检测模型的参数评估指标详解、概念解析
yolov--11--YOLO v3的原版训练记录、mAP、AP、recall、precision、time等评价指标计算
yolov--12--YOLOv3的原理深度剖析和关键点讲解
假如文件名为 a.m,运行:
matlab -nodesktop -nosplash -r a
报错如下: Converting PASCAL VOC dataset... Index exceeds matrix dimensions.
>> xml_json_voc1999
Building with 'g++'.
MEX completed successfully.
Converting PASCAL VOC dataset... Index exceeds matrix dimensions.
Error in VOCxml2struct>parse (line 10)
if ~isempty(parent)&&xml(ind)~='<'
Error in VOCxml2struct>parse (line 24)
[sub,ind]=parse(xml,ind,tag);
Error in VOCxml2struct>parse (line 24)
[sub,ind]=parse(xml,ind,tag);
Error in VOCxml2struct (line 5)
[res,xml]=parse(xml,1,[]);
Error in VOCreadxml (line 10)
rec=VOCxml2struct(xml);
Error in VOCreadrecxml (line 3)
x=VOCreadxml(path);
Error in PASreadrecord (line 10)
rec=VOCreadrecxml(path);
Error in CocoUtils.convertPascalGt (line 49)
R=PASreadrecord(f); hw=R.imgsize([2 1]); O=R.objects;
Error in xml_json_voc1999 (line 19)
CocoUtils.convertPascalGt( '/home/Liqing/hangyu/', '2007', 'train', './voc_1999_train454.json')
>>
发现:
train.txt 量少的话200、300左右就能转换成功,量一大就报错
解决:
左边为异常处(中间某一xml问题),右为正常: