Skip to content

Commit

Permalink
Merge pull request vchoutas#146 from sha2nkt/patch-1
Browse files Browse the repository at this point in the history
Fixes "TensorOutput has no 'v_shaped'"
  • Loading branch information
vchoutas authored Jan 23, 2023
2 parents bb595ae + 0d6f33c commit 566532a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions smplx/body_models.py
Original file line number Diff line number Diff line change
Expand Up @@ -1136,7 +1136,7 @@ def forward(
pose2rot: bool = True,
return_shaped: bool = True,
**kwargs
) -> TensorOutput:
) -> SMPLXOutput:
'''
Forward pass for the SMPLX model
Expand Down Expand Up @@ -1286,7 +1286,7 @@ def forward(
v_shaped = self.v_template + blend_shapes(betas, self.shapedirs)
else:
v_shaped = Tensor(0)
output = TensorOutput(vertices=vertices if return_verts else None,
output = SMPLXOutput(vertices=vertices if return_verts else None,
joints=joints,
betas=betas,
expression=expression,
Expand Down

0 comments on commit 566532a

Please sign in to comment.