EricGuo5513 / HumanML3D

HumanML3D: A large and diverse 3d human motion-language dataset.
https://ericguo5513.github.io/text-to-motion/
MIT License
819 stars 78 forks source link

KeyError: 'allow_pickle is not a file in the archive' #34

Closed LEELLL closed 1 year ago

LEELLL commented 1 year ago

Hello, when I run run the script "raw_pose_processing.ipynb" in order to obtain HumanML3D dataset, I got the error. Can you help me?

KeyError Traceback (most recent call last) /tmp/ipykernel_658104/704857661.py in 10 num_dmpls = 8 # number of DMPL parameters 11 ---> 12 male_bm = BodyModel(bm_fname=male_bm_path, num_betas=num_betas, num_dmpls=num_dmpls, dmpl_fname=male_dmpl_path).to(comp_device) 13 faces = c2c(male_bm.f) 14

/mnt/SSD_3TB/lingling/code/HumanML3D/human_body_prior/body_model/body_model.py in init(self, bm_fname, num_betas, num_dmpls, dmpl_fname, num_expressions, use_posedirs, dtype, persistant_buffer) 71 72 # njoints = smpl_dict['posedirs'].shape[2] // 3 ---> 73 njoints = smpl_dict['allow_pickle'].shape[2] // 3 74 self.model_type = {69: 'smpl', 153: 'smplh', 162: 'smplx', 45: 'mano', 105: 'animal_horse', 102: 'animal_dog', }[njoints] 75

~/miniconda3/envs/torch_render/lib/python3.7/site-packages/numpy/lib/npyio.py in getitem(self, key) 264 return self.zip.read(key) 265 else: --> 266 raise KeyError("%s is not a file in the archive" % key) 267 268

KeyError: 'allow_pickle is not a file in the archive'

LEELLL commented 1 year ago

I download the model again and solve the problem.