修改txt文件
ziyybs
努力成为技术大佬。加油
展开
-
xml转txt格式标注数据
import xml.etree.ElementTree as ET import os from os import getcwd from os.path import join import glob classes = ['pig'] # 标注时的标签 def convert(size, box): dw = 1. / size[0] dh = 1. / size[1] x = (box[0] + box[1]) / 2.0 y = (box[2] + bo.原创 2022-05-18 09:06:43 · 132 阅读 · 0 评论 -
python,修改txt每行部分内容
txt修改,python原创 2022-05-16 09:12:30 · 1147 阅读 · 0 评论