使用python計算本身數據集的mean和std

首先先把數據集的圖片路徑保存在一個txt文件夾裏面python import os def generate(dir, label): listText = open('list.txt', 'a') for file in dir: fileType = os.path.split(file) if fileType[1] == '.txt':
相關文章
相關標籤/搜索