You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
aud att loss (regions out of face should be static)
if self.opt.amb_aud_loss and not self.opt.torso:
ambient_aud = outputs['ambient_aud']
loss_amb_aud = (ambient_aud * (~lowface_mask.view(-1))).mean()
# gradually increase it
lambda_amb = step_factor * self.opt.lambda_amb
loss += lambda_amb * loss_amb_aud
# eye att loss
if self.opt.amb_eye_loss and not self.opt.torso:
ambient_eye = outputs['ambient_eye']
loss_cross = ((ambient_eye)*(lowface_mask.view(-1))).mean()
lambda_amb = step_factor * self.opt.lambda_amb
loss += lambda_amb * loss_cross
The text was updated successfully, but these errors were encountered:
aud att loss (regions out of face should be static)
The text was updated successfully, but these errors were encountered: