赠品测试

This commit is contained in:
lee
2025-06-21 13:37:38 +08:00
parent e474ab5f9f
commit aa7ea8ecf8
5 changed files with 2174 additions and 9 deletions

View File

@ -4,9 +4,10 @@ import random
import argparse
parser = argparse.ArgumentParser()
parser.add_argument('--img_path', default='/home/lc/data_center/gift/ori_image/images', type=str,
parser.add_argument('--img_path', default='/home/lc/data_center/gift/v2/images', type=str,
help='input xml label path') # 图片存放地址
# 数据集的划分地址选择自己数据下的ImageSets/Main
# parser.add_argument('--txt_path', default='/home/lc/data_center/gift/yolov10_data/Main', type=str, help='output txt label path')
parser.add_argument('--txt_path', default='/home/lc/data_center/gift/yolov10_data/Main', type=str,
help='output txt label path')
opt = parser.parse_args()