mediapipe_model_maker.face_stylizer.face_stylizer.loss_functions.ImagePerceptualQualityLoss

Image perceptual quality loss.

It obtains a weighted loss between the VGGPerceptualLoss and L1 loss.

Methods

from_config

Instantiates a Loss from its config (output of get_config()).

Args
config Output of get_config().

Returns
A Loss instance.

get_config

Returns the config dictionary for a Loss instance.

__call__

View source

Computes image perceptual quality loss.