Skip to content

Commit 4f1dcad

Browse files
authored
Add th_comps to buffers
1 parent c187374 commit 4f1dcad

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

manopth/manolayer.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,7 @@ def __init__(self,
9494
# Save as axis-angle
9595
self.register_buffer('th_hands_mean', th_hands_mean)
9696
selected_components = hands_components[:ncomps]
97+
self.register_buffer('th_comps', torch.Tensor(hands_components))
9798
self.register_buffer('th_selected_comps',
9899
torch.Tensor(selected_components))
99100
else:

0 commit comments

Comments
 (0)