add deployment tools of pytorch2onnx

This commit is contained in:
Sen Liang committed 2022-04-12 11:24:38 +08:00
1 parent 28810e9ed3
commit 91cdd0d678
9 files changed
+461 -71

No files matched your search

+1 -1
View File
@@ -239,7 +239,7 @@ class FLAME(nn.Module):
], dim=1)
template_vertices = self.v_template.unsqueeze(0).expand(batch_size, -1, -1) # (B x 5023 x 3)
template_vertices = self.v_template.unsqueeze(0).expand(batch_size, -1, -1) # (B x 5023 x 3)
# print(f"template_vertices = {template_vertices.shape}, self.shapedirs={self.shapedirs.shape}, self.posedirs={self.posedirs.shape}")
vertices, _ = lbs(betas, pose, template_vertices,