mirror of
https://gitee.com/nanjing-yimao-information/ieemoo-ai-gift.git
synced 2025-08-23 23:50:25 +00:00
update
This commit is contained in:
@ -4,7 +4,7 @@ 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,
|
||||
|
@ -76,9 +76,9 @@ def convert_annotation(image_id, imgname_list, label_path, Annotation_path, imag
|
||||
# abs_path = os.getcwd()
|
||||
|
||||
|
||||
image_path = '/home/lc/data_center/gift/ori_image/images/' # img实际存放地址
|
||||
Annotation_path = '/home/lc/data_center/gift/ori_image/xmls/' # xml实际存放地址
|
||||
label_path = '/home/lc/data_center/gift/ori_image/labels/' # 保存路径
|
||||
image_path = '/home/lc/data_center/gift/v2/images/' # img实际存放地址
|
||||
Annotation_path = '/home/lc/data_center/gift/v2/xmls/' # xml实际存放地址
|
||||
label_path = '/home/lc/data_center/gift/v2/labels/' # 保存路径
|
||||
|
||||
# wd = getcwd()
|
||||
imgname_list = []
|
||||
|
Reference in New Issue
Block a user