MotionGPT3 icon indicating copy to clipboard operation
MotionGPT3 copied to clipboard

size mismatch

Open HyelinNAM opened this issue 1 year ago • 1 comments

RuntimeError: Error(s) in loading state_dict for MovementConvEncoder: size mismatch for main.0.weight: copying a param with shape torch.Size([512, 259, 4]) from checkpoint, the shape in current model is torch.Size([512, 18, 4]).

Hi, I encounter this error while running demo.py script. Anyone struggle with same issue?

HyelinNAM avatar Nov 18 '25 04:11 HyelinNAM

please check setting of parameter t2m_moveencoder.params.input_size in configs/evaluator/tm2t.yaml, it seems something wrong with a wrong DATASET.NFEATS of 22 (should be 263 here for HumanML3D)

BoifZ avatar Nov 28 '25 08:11 BoifZ