Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I get an error when trying to create the SMPL mesh #185

Open
houseofsecrets opened this issue Dec 28, 2023 · 1 comment
Open

I get an error when trying to create the SMPL mesh #185

houseofsecrets opened this issue Dec 28, 2023 · 1 comment

Comments

@houseofsecrets
Copy link

(mdm) C:\WorkingFiles\ML\motion-diffusion-model>python -m visualize.render_mesh --input_path C:\WorkingFiles\ML\motion-diffusion-model\save\humanml_trans_enc_512\test1\sample00_rep00.mp4
./body_models/
WARNING: You are using a SMPL model, with only 10 shape coefficients.
Traceback (most recent call last):
File "C:\Users\arjan\miniconda3\envs\mdm\lib\runpy.py", line 193, in _run_module_as_main
"main", mod_spec)
File "C:\Users\arjan\miniconda3\envs\mdm\lib\runpy.py", line 85, in _run_code
exec(code, run_globals)
File "C:\WorkingFiles\ML\motion-diffusion-model\visualize\render_mesh.py", line 26, in
device=params.device, cuda=params.cuda)
File "C:\WorkingFiles\ML\motion-diffusion-model\visualize\vis_utils.py", line 24, in init
self.j2s = joints2smpl(num_frames=self.num_frames, device_id=device, cuda=cuda)
File "C:\WorkingFiles\ML\motion-diffusion-model\visualize\simplify_loc2rot.py", line 42, in init
device=self.device)
File "C:\WorkingFiles\ML\motion-diffusion-model\visualize\joints2smpl\src\smplify.py", line 69, in init
dtype=torch.float32).to(device)
File "C:\WorkingFiles\ML\motion-diffusion-model\visualize\joints2smpl\src\prior.py", line 127, in init
gmm = pickle.load(f, encoding='latin1')
_pickle.UnpicklingError: the STRING opcode argument must be quoted

@xitinghe
Copy link

xitinghe commented May 2, 2024

It seems that you run it in Windows. Maybe you can try Linux?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants