Skip to content

Commit 091214d

Browse files
committed
* update test
1 parent 519be60 commit 091214d

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,4 @@
1717
#CreateYearsDatasets(r"E:\Data\VOC数据集\集装箱残损检测数据集")
1818
create_text_detection_datasets(r"F:\数据集\关键点检测数据集\箱号关键点数据集",r'E:\Data\字符检测识别数据集\箱号关键点数据集')
1919
#CreatePaddleOCRDatasets(r'F:\数据集\VOC数据集\箱门检测数据集\ContainVOC', save_path="E:\Data\OCR\箱号识别数据集",dataset_type="箱号数据集")
20-
#CreateYearsDatasets("E:\Data\VOC数据集\箱门检测数据集\ContainVOC",0.95)
20+
#CreateYearsDatasets("F:\数据集\VOC数据集\验残集装箱检测数据集",0.95)

test.py

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,13 @@
88
# @Desc :
99
from dataset_tools.jade_create_object_dection_datasets import *
1010

11+
12+
def testCreateYearsDatasets():
13+
"""
14+
制作Paddle Voc 数据集
15+
"""
16+
CreateYearsDatasets(r"F:\数据集\VOC数据集\验残集装箱检测数据集", save_path=r"E:\Data\VOC数据集\验残集装箱检测数据集")
17+
18+
1119
if __name__ == '__main__':
12-
CreateYearsDatasets("F:\数据集\VOC数据集\箱门检测数据集\ContainVOC",year=None,save_path="E:\数据集\VOC数据集\箱门检测数据集\ContainVOC",rate=0.95)
20+
testCreateYearsDatasets()

0 commit comments

Comments
 (0)