SMPL目前没有给1.0.0版本的neutral模型,我也在issues中看到了同样的问题
后来从https://github.com/classner/up 下载获得了19年的1.0.0的neutral模型
不过仍然不成功,报错如下:
(SMPL currently does not give a neutral model for version 1.0.0, and I saw the same problem in issues
Then I downloaded from https://github.com/classner/up and got the neutral model for 1.0.0 released in 2019
But it still doesn't work, the error is reported as follows:)
size mismatch for init_cam: copying a param with shape torch.Size([3]) from checkpoint, the shape in current model is torch.Size([1]).
size mismatch for preact.conv1.weight: copying a param with shape torch.Size([64, 3, 7, 7]) from checkpoint, the shape in current model is torch.Size([64, 3, 3, 3]).
size mismatch for preact.layer1.0.conv1.weight: copying a param with shape torch.Size([64, 64, 3, 3]) from checkpoint, the shape in current model is torch.Size([64, 64, 1, 1]).
size mismatch for preact.layer1.1.conv1.weight: copying a param with shape torch.Size([64, 64, 3, 3]) from checkpoint, the shape in current model is torch.Size([64, 256, 1, 1]).
size mismatch for preact.layer1.2.conv1.weight: copying a param with shape torch.Size([64, 64, 3, 3]) from checkpoint, the shape in current model is torch.Size([64, 256, 1, 1]).
size mismatch for decshape.weight: copying a param with shape torch.Size([10, 1024]) from checkpoint, the shape in current model is torch.Size([10, 2048]).
size mismatch for decphi.weight: copying a param with shape torch.Size([46, 1024]) from checkpoint, the shape in current model is torch.Size([46, 2048]).
size mismatch for deccam.weight: copying a param with shape torch.Size([3, 1024]) from checkpoint, the shape in current model is torch.Size([1, 2048]).
size mismatch for deccam.bias: copying a param with shape torch.Size([3]) from checkpoint, the shape in current model is torch.Size([1]).
(hybrik)
另外,我没找到有叫pretrained_hrnet.pth的文件,就直接把pretrained_w_cam.pth重命名成了hrnet,不知道这样对不对?
(Also, I didn't find a file called pretrained_hrnet.pth, so I just renamed pretrained_w_cam.pth to hrnet, I don't know if this is right?)
SMPL目前没有给1.0.0版本的neutral模型,我也在issues中看到了同样的问题 后来从https://github.com/classner/up 下载获得了19年的1.0.0的neutral模型 不过仍然不成功,报错如下: (SMPL currently does not give a neutral model for version 1.0.0, and I saw the same problem in issues Then I downloaded from https://github.com/classner/up and got the neutral model for 1.0.0 released in 2019 But it still doesn't work, the error is reported as follows:)
另外,我没找到有叫pretrained_hrnet.pth的文件,就直接把pretrained_w_cam.pth重命名成了hrnet,不知道这样对不对? (Also, I didn't find a file called pretrained_hrnet.pth, so I just renamed pretrained_w_cam.pth to hrnet, I don't know if this is right?)