add eval.py with metrics

This commit is contained in:
Sen Liang committed 2022-04-01 11:30:24 +08:00
1 parent 11277e478f
commit baed1fffe3
53 files changed
+5844 -378

No files matched your search

+2 -6
View File
@@ -322,12 +322,8 @@ def tensor2image(tensor):
def define_netG(opt):
netG = None
if opt.MODEL.name_netG == "audio2motion_head":
from src.nn.audio2motion_head import Audio2MotionHead
netG = Audio2MotionHead(opt)
elif opt.MODEL.name_netG == "audio2motion_voca":
if opt.MODEL.name_netG == "audio2motion_voca":
from src.nn.audio2motion_voca import Audio2MotionVOCA
netG = Audio2MotionVOCA(opt)