打印data_list

This commit is contained in:
552068321@qq.com 2022-11-07 17:13:17 +08:00
parent 26178408cb
commit 159a8f2e1d

View File

@ -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]): 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 = idc.get_image_all_proj_no(proj_no=proj_no, db=db)
imgs = os.listdir(ori_path + '/images') imgs = os.listdir(ori_path + '/images')
print('图像:',imgs)
train_files = [] train_files = []
test_files = [] test_files = []
# 训练、测试比例强制91 # 训练、测试比例强制91