import lpips lpips.LPIPS(net='alex', spatial=True)