faster rcnn代码阅读notes—1
VOC数据读入 数据读入方法:ImageSets/Main/mode.txt中存放mode对应的数据编号,然后到Annotations/id.xml里读bbox的xml文件,再到JPEGImages/id.jpg里读jpg文件 id.strip() for id in open(file) 获得id列表 xml文件读入方法 import xml.etree.ElementTree as ET filex=ET.parse(file_path) for obj in filex.findall(x): print(obj.find(y).text.lower().strip()) numpy
下载地址
用户评论