由512 * 512变成360 * 360
import os
import cv2
import PIL
from unet import unet
from utils import *
from PIL import Image
path_tu = "/media/workstation/4.0T/shujuji/CelebAMask-HQ/CelebA-HQ-img"
# 该文件夹下所有的文件(包括文件夹)
filename_list = os.listdir(path_tu) # 返回指定路径下的文件和文件夹列表
filename_list.sort(key=lambda x: int(x[:-4]))
i=0
for files_name in filename_list