fix template_verts
This commit is contained in:
1 parent
a3529ab815
commit
e6f471eb64
3 files changed
+3
-5
No files matched your search
@@ -8,7 +8,6 @@ isTrain: False
|
||||
|
||||
|
||||
MODEL:
|
||||
# name: 'audio2mesh'
|
||||
name: 'audio2mesh_ar'
|
||||
name_netG: "audio2mesh_ar"
|
||||
|
||||
@@ -20,7 +19,6 @@ MODEL:
|
||||
path_checkpoint: "experiments/audio2mesh/train_audio2meshAR_CN_20220314/20220316-23H56M06S"
|
||||
load_epoch: 50
|
||||
|
||||
|
||||
DATASET:
|
||||
fps: 50
|
||||
sr: 16000
|
||||
|
||||
Whitespace-only changes.
@@ -48,15 +48,15 @@ class Audio2MeshARModel(Base):
|
||||
|
||||
path_deca_mean = self.opt.DATASET.path_mean_dict
|
||||
self.mean_dict = np.load(path_deca_mean, allow_pickle=True).item()
|
||||
print(f"mean_dict keys = {self.mean_dict.keys()}")
|
||||
print(f"load mean deca coeff from > {path_deca_mean}, \nkeys = {self.mean_dict.keys()}")
|
||||
|
||||
if self.isTrain:
|
||||
self.template_verts = self.get_template_vertices()
|
||||
print(f"! get template_verts from zero expression + zero expression")
|
||||
else:
|
||||
self.template_verts = self.get_template_vertices(self.mean_dict)
|
||||
print(f"! get template_verts from {path_deca_mean}")
|
||||
|
||||
debug(opt, f"template_verts shape = {self.template_verts.shape}")
|
||||
debug(opt, f"mean_dict keys = {self.mean_dict.keys()}", verbose=True)
|
||||
|
||||
# if filter outlier
|
||||
# if self.opt.LOSS.filter_outlier:
|
||||
|
||||
Reference in new issue
Block a user