Skip to content

Commit 5e0fb10

Browse files
Misc.
1 parent 18eaf8a commit 5e0fb10

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

config.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
HAND_MESH_MODEL_PATH = './model/hand_mesh/hand_mesh_model.pkl'
44
# use left hand
55
OFFICIAL_MANO_PATH = './model/mano_v1_2/models/MANO_LEFT.pkl'
6-
IK_UNIT_LENGTH = 0.09473151311686484 # in meter
6+
IK_UNIT_LENGTH = 0.09473151311686484 # in meter
77

88
HAND_COLOR = [228/255, 178/255, 148/255]
99

network.py

+1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55

66
################################# detection ####################################
77

8+
89
def zero_padding(inputs, pad_1, pad_2):
910
pad_mat = np.array([[0, 0], [pad_1, pad_2], [pad_1, pad_2], [0, 0]])
1011
return tf.pad(inputs, paddings=pad_mat)

wrappers.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -114,8 +114,7 @@ def process(self, joints):
114114
np.ndarray, shape [21, 4]
115115
Estimated global joint rotations in quaternions.
116116
"""
117-
theta = \
118-
self.sess.run(self.theta, {self.input_ph: np.expand_dims(joints, 0)})
117+
theta = self.sess.run(self.theta, {self.input_ph: np.expand_dims(joints, 0)})
119118
if len(theta.shape) == 3:
120119
theta = theta[0]
121120
return theta

0 commit comments

Comments
 (0)