ssim_number.append(ssim_ave) lpips_number.append(lpips_ave) #生成csv文件 dit = {'image_number':image_number, 'result_name':image_name, 'psnr':psnr_number,'ssim':ssim_number,'lpips':lpips_number} df = pd.DataFrame(dit) csv_name = test_set_name + '_ssim&psnr&lpips.csv' #拼接csv...