Skip to content

Commit

Permalink
Add th_comps to buffers
Browse files Browse the repository at this point in the history
  • Loading branch information
hassony2 committed Sep 10, 2020
1 parent c187374 commit 4f1dcad
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions manopth/manolayer.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ def __init__(self,
# Save as axis-angle
self.register_buffer('th_hands_mean', th_hands_mean)
selected_components = hands_components[:ncomps]
self.register_buffer('th_comps', torch.Tensor(hands_components))
self.register_buffer('th_selected_comps',
torch.Tensor(selected_components))
else:
Expand Down

0 comments on commit 4f1dcad

Please sign in to comment.