摘要: def load_images(IMG_SIZE = 256): avatars = [] filenames = [] images_list = sorted(glob.glob(f'{opt.avatars}/*')) for i, f in enumerate(images_list): i 阅读全文
posted @ 2021-03-17 08:59 皮卡皮卡妞 阅读(314) 评论(0) 推荐(0) 编辑
摘要: f='1.jpg' f.endswith('.jpg') or f.endswith('.jpeg') or f.endswith('.png') 阅读全文
posted @ 2021-03-17 08:57 皮卡皮卡妞 阅读(199) 评论(0) 推荐(0) 编辑