Veri-776数据集处理 xml文件提取转换成txt文件
Veri-776数据集处理 xml文件提取转换成txt文件
最近在做重识别工作,数据处理时需要进行文件格式转换,这里将代码记录下来
from os import getcwd
import os
from xml.dom.minidom import parse
os.environ["CUDA_VISIBLE_DEVICES"] = "0"
vehicleids = []
def convert_annotation():
in_file = open('dataset/VeRi/train_
原创
2021-02-21 20:34:28 ·
956 阅读 ·
2 评论