深度学习DataFountain疫情期间网民情绪识别大赛(NLP方向)
picture_size = {}
for file in tqdm.tqdm(self.join, desc='all samples of train set and test set'):
file_path = expand_path(file)
if isfile(file_path): # 图片存在
img_size = Image.open(file_path).size
picture_size[file] = img_size return picture_size