2026-04-13 15:33:39,277 Loading checkpoints from checkpoints/motiongpt3.ckpt
Traceback (most recent call last):
File "/mnt/bn/zm-tide-volume/code/MotionGPT3/demo.py", line 236, in
main()
File "/mnt/bn/zm-tide-volume/code/MotionGPT3/demo.py", line 141, in main
model.load_state_dict(state_dict, strict=False)
File "/mnt/bn/zm-tide-volume/code/MotionGPT3/motGPT/models/base.py", line 102, in load_state_dict
super().load_state_dict(new_state_dict, strict)
File "/mnt/bn/zm-tide-volume/anaconda3/envs/mgpt3/lib/python3.11/site-packages/torch/nn/modules/module.py", line 2041, in load_state_dict
raise RuntimeError('Error(s) in loading state_dict for {}:\n\t{}'.format(
RuntimeError: Error(s) in loading state_dict for MotGPT:
size mismatch for vae.skel_embedding.weight: copying a param with shape torch.Size([256, 263]) from checkpoint, the shape in current model is torch.Size([256, 251]).
size mismatch for vae.final_layer.weight: copying a param with shape torch.Size([263, 256]) from checkpoint, the shape in current model is torch.Size([251, 256]).
size mismatch for vae.final_layer.bias: copying a param with shape torch.Size([263]) from checkpoint, the shape in current model is torch.Size([251]).
When i load the checkpoints/motiongpt3.ckpt, i found the size is not match, why?