add audio2motion gan

This commit is contained in:
sen.liang committed 2022-06-09 16:31:36 +08:00
1 parent 7aed8b140a
commit 8b8b0de093
19 files changed
+1771 -202

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)
"""