-
Notifications
You must be signed in to change notification settings - Fork 39
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
TCMR missmatch?? #27
Comments
I am not sure what your running (demo or test?), but just change the current model to [6890, 3, 10]. |
I am running demo, python demo.py --vid_file demo.mp4 with CPU. I am getting this error after loading pre-trained model from "tcmr_demo_model.pth.tar", at model.load_state_dict ckpt = ckpt['gen_state_dict'] |
Version mismatch! You don't have to re-install or downgrade. Just change |
Thank you for your help but I couldn't find on the code where I should change. It gives the error on TCMR, before even creating the SMPL model but in the error message, it mentions regressor.smpl.shapedirs. I tried to add "shapedirs = [6890,3,10]" to SMPL constructor but as I get the error before that line is compiled. |
Then, the easiest way is to match the version. smplx==0.1.13 Or as I said, change the SMPL's shapedirs to 10 here TCMR_RELEASE/lib/models/smpl.py Line 61 in ade5ab5
|
Hello, have you solved this problem? I have the same problem, do you know how to change the code? Thanks. |
I have the same problem, have you solved it? |
I think you can add this line here:
|
I have the same problem, have you solved it? |
I think you downloaded different smpl model..?
https://hongsukchoi.github.io
…On Tue, Oct 29, 2024 at 11:19 PM jiangguangan ***@***.***> wrote:
I have the same problem, have you solved it?
—
Reply to this email directly, view it on GitHub
<#27 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AHNGKW64CAQERL2KFARVZ3TZ6B26BAVCNFSM6AAAAABLCXAKUWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINBVHE3DKNRZGE>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Which one did you guys download from the SMPL homepage? |
RuntimeError: Error(s) in loading state_dict for TCMR:
size mismatch for regressor.smpl.shapedirs: copying a param with shape torch.Size([6890, 3, 10]) from checkpoint, the shape in current model is torch.Size([6890, 3, 300]).
Anyone know about this?
The text was updated successfully, but these errors were encountered: