BartMoyaers / BvhToDeepMimic

Convert .bvh files (Biovision Hierarchy) to DeepMimic format.
MIT License
65 stars 12 forks source link

IndexError: list index out of range raises when I convert the example bvh in the readme to mimic. #9

Closed hellozjj closed 4 years ago

hellozjj commented 4 years ago

When I convert the bvh file in the readme http://mocap.cs.sfu.ca/nusmocap/0005_Walking001.bvh, there is an error raises:

b\site-packages\bvh.py in frame_joint_channel(self, frame_index, joint, channel, value) 148 if channel_index == -1 and value is not None: 149 return value --> 150 return float(self.frames[frame_index][joint_index + channel_index]) 151 152 def frame_joint_channels(self, frame_index, joint, channels, value=None):

IndexError: list index out of range

how could I fix this?