3588适配

This commit is contained in:
2024-10-17 19:14:27 +08:00
parent 8475980895
commit a95db2a8fb
9 changed files with 78 additions and 55 deletions

View File

@ -5,8 +5,8 @@ import numpy as np
import xml.etree.cElementTree as et
from kmeans import kmeans, avg_iou
FILE_ROOT = "/home/nxy/nxy_project/python_project/Data/zhanting_add/" # 根路径
ANNOTATION_ROOT = "xmls" # 数据集标签文件夹路径
FILE_ROOT = "paper_data/" # 根路径
ANNOTATION_ROOT = "Annotations" # 数据集标签文件夹路径
ANNOTATION_PATH = FILE_ROOT + ANNOTATION_ROOT
ANCHORS_TXT_PATH = "data/anchors.txt"