2021年4月25日

模型测试需要的时间

摘要: time_start = time.time() SR_left = net() torch.cuda.synchronize() time_end = time.time() 阅读全文

posted @ 2021-04-25 16:16 cltt 阅读(91) 评论(0) 推荐(0) 编辑

读取图片,按顺序保存到其他文件夹

摘要: import os from PIL import Image path = './hr/' cnt =1 file_list = os.listdir(path) for i in range(len(file_list)): path_l = path+file_list[i]+'/hr0.pn 阅读全文

posted @ 2021-04-25 16:04 cltt 阅读(177) 评论(0) 推荐(0) 编辑

导航