From 26178408cb2d95ee6846837dcbfca3fe8ca34e9e Mon Sep 17 00:00:00 2001 From: "552068321@qq.com" Date: Mon, 7 Nov 2022 17:09:57 +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 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/file_tool.py b/app/file_tool.py index 43af24f..c3eb34d 100644 --- a/app/file_tool.py +++ b/app/file_tool.py @@ -198,6 +198,8 @@ def get_file(ori_path: str, type_list: Union[object,str]): train_files.append(label) if len(train_files) == 0 or len(test_files) == 0: + print(len(train_files)) + print(len(test_files)) return False # proj = plc.get_proj_by_proj_no(proj_no=proj_no, db=db) target_path = mv_file(train_files=train_files, test_files=test_files)