vp_suite.measure
This package contains the measures. Measures can either be losses or metrics depending on whether they’re differentiable.
- LOSS_CLASSES = {'fvd': <class 'vp_suite.measure.fvd.fvd.FrechetVideoDistance'>, 'l1': <class 'vp_suite.measure.image_wise.L1'>, 'lpips': <class 'vp_suite.measure.image_wise.LPIPS'>, 'mse': <class 'vp_suite.measure.image_wise.MSE'>, 'psnr': <class 'vp_suite.measure.image_wise.PSNR'>, 'smooth_l1': <class 'vp_suite.measure.image_wise.SmoothL1'>, 'ssim': <class 'vp_suite.measure.image_wise.SSIM'>}
A dictionary containing all loss classes and the corresponding string key with which they can be accessed.
- METRIC_CLASSES = {'fvd': <class 'vp_suite.measure.fvd.fvd.FrechetVideoDistance'>, 'l1': <class 'vp_suite.measure.image_wise.L1'>, 'lpips': <class 'vp_suite.measure.image_wise.LPIPS'>, 'mse': <class 'vp_suite.measure.image_wise.MSE'>, 'psnr': <class 'vp_suite.measure.image_wise.PSNR'>, 'smooth_l1': <class 'vp_suite.measure.image_wise.SmoothL1'>, 'ssim': <class 'vp_suite.measure.image_wise.SSIM'>}
A dictionary containing all metric classes and the corresponding string key with which they can be accessed.