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

'MotionGPT' object has no attribute 'codebook_size' #64

Open
coralemon opened this issue Dec 26, 2023 · 1 comment
Open

'MotionGPT' object has no attribute 'codebook_size' #64

coralemon opened this issue Dec 26, 2023 · 1 comment

Comments

@coralemon
Copy link

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?

@jjw9228
Copy link

jjw9228 commented Jan 25, 2024

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

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