initial commit

This commit is contained in:
Sen Liang committed 2022-01-21 17:42:41 +08:00
commit c7175dd7ff
127 files changed
+13949

No files matched your search

+13
View File
@@ -0,0 +1,13 @@
import torch
import torch.nn as nn
from .utils import weighted_loss
@weighted_loss
def pfld_loss(pred, target, euler_pt, euler_gt, attribute_gt):
"""PFLD loss.
Args:
pred (torch.Tensor): The prediction landmark. (nbatch, 68*2)
"""