smplify-x
smplify-x copied to clipboard
RuntimeError: The size of tensor a (118) must match the size of tensor b (111) at non-singleton dimension 1
python smplifyx/main.py --config cfg_files/fit_smplx.yaml --data_folder input_image1/ --output_folder OUTPUT_FOLDER --visualize="True" --model_folder models_smplx_v1_1/ --vposer_ckpt V02_05/ --part_segm_fn smplx_parts_segm.pkl
Processing: input_image1/images/2023-09-15-165143.jpg
2023-09-15 17:08:35.404 | INFO | human_body_prior.tools.model_loader:load_model:77 - No GPU detected. Loading on CPU!
2023-09-15 17:08:35.435 | INFO | human_body_prior.tools.model_loader:load_model:97 - Loaded model in eval mode with trained weights: V02_05/snapshots/V02_05_epoch=13_val_loss=0.03.ckpt
/home/user/Desktop/smplify-x/smplifyx/optimizers/lbfgs_ls.py:238: UserWarning: This overload of add_ is deprecated:
add_(Number alpha, Tensor other)
Consider using one of the following signatures instead:
add_(Tensor other, *, Number alpha) (Triggered internally at ../torch/csrc/utils/python_arg_parser.cpp:1485.)
p.data.add_(step_size, update[offset:offset + numel].view_as(p.data))
Camera initialization done after 6.5344
Camera initialization final loss 1871.7843
Stage: 0%| | 0/5 [00:00<?, ?it/s]
Orientation: 0%| | 0/1 [00:00<?, ?it/s]
Traceback (most recent call last):
File "smplifyx/main.py", line 272, in
I meet with this runtime error problem, I have add --face and --hand option in openpose, and use_hands: True use_face: True in fit_smplx.yaml. I wonder how to solve this problem, thanks!