Common metrics
Include LPIPS, PSNR and SSIM.
The code is adapted from common_metrics_on_video_quality .