Skip to content

error #19

@nagexiaochengzi

Description

@nagexiaochengzi

When I run the VTO dataset from Inference.ipynb to HOOD.pkl with the code “convert_vto_to_pkl(vto_sequence_path, target_pkl_path, n_zeropose_interpolation_steps=30)” it reports the error
Cell In[19], line 1.

KeyError backtracking (most recent call)
Cell In[19], line 1.
----> 1 convert_vtoo_to_pkl(vtoo_sequence_path, target_pkl_path, n_zeropose_interpolation_steps=30)
2 print(f'Pose sequence saved into {target_pkl_path}')

file ~/projects/mjz/HOOD/utils/data_making.py:207, in convert_vto_to_pkl(vto_seq_path, out_path, start, n_frames, n_inter_steps, n_zeropose_ interpolation_steps)
204 vto_dict = pickle_load(vto_seq_path)
206 out_dict = dict()
--> 207 out_dict['translation'] = vto_dict['translation'][start:]
208 out_dict['body_pose'] = vto_dict['pose'][start:, 3:72]
209 out_dict['global_orient'] = voto_dict['pose'][start:,:3] 202

KeyError: 'translation

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions