From 159a8f2e1d6716e806668f7f4933df4b9e4abbf0 Mon Sep 17 00:00:00 2001 From: "552068321@qq.com" Date: Mon, 7 Nov 2022 17:13:17 +0800 Subject: [PATCH] =?UTF-8?q?=E6=89=93=E5=8D=B0data=5Flist?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/file_tool.py | 1 + 1 file changed, 1 insertion(+) diff --git a/app/file_tool.py b/app/file_tool.py index c3eb34d..9e67b28 100644 --- a/app/file_tool.py +++ b/app/file_tool.py @@ -174,6 +174,7 @@ def mv_file(train_files: List[str], test_files: List[str], r_v_rate: Optional[fl def get_file(ori_path: str, type_list: Union[object,str]): # imgs = idc.get_image_all_proj_no(proj_no=proj_no, db=db) imgs = os.listdir(ori_path + '/images') + print('图像:',imgs) train_files = [] test_files = [] # 训练、测试比例强制9:1