Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions phc/phc/utils/motion_lib_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ def load_data(self, motion_file, min_length=-1, im_eval = False):

self._num_unique_motions = len(self._motion_data_list)
if self.mode == MotionlibMode.directory:
import ipdb; ipdb.set_trace()
# import ipdb; ipdb.set_trace()
self._motion_data_load = joblib.load(self._motion_data_load[0]) # set self._motion_data_load to a sample of the data

def setup_constants(self, fix_height = FixHeightMode.full_fix, masterfoot_conifg=None, multi_thread = True):
Expand Down Expand Up @@ -575,4 +575,4 @@ def _get_num_bodies(self):
def _local_rotation_to_dof_smpl(self, local_rot):
B, J, _ = local_rot.shape
dof_pos = torch_utils.quat_to_exp_map(local_rot[:, 1:])
return dof_pos.reshape(B, -1)
return dof_pos.reshape(B, -1)