MotionGPT icon indicating copy to clipboard operation
MotionGPT copied to clipboard

'MotionGPT' object has no attribute 'codebook_size'

Open coralemon opened this issue 2 years ago • 1 comments

when I run python demo.py --cfg ./configs/config_h3d_stage3.yaml --example ./demos/m2t.txt --task m2t I get: AttributeError: 'MotionGPT' object has no attribute 'codebook_size' The release model is wrong or what is wrong?

coralemon avatar Dec 26 '23 07:12 coralemon

I think model.codebook_size should be converted to model.hparams.codebook_size in demo.py. That works for me.

jjw9228 avatar Jan 25 '24 08:01 jjw9228