caizhongang / SMPLer-X

Official Code for "SMPLer-X: Scaling Up Expressive Human Pose and Shape Estimation"

Home Page:https://caizhongang.github.io/projects/SMPLer-X/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ValueError: buffer size does not match array size

zxx123518 opened this issue · comments

  • python inference.py --num_gpus 1 --exp_name output/demo_inference_单人半身 --pretrained_model smpler_x_h32 --agora_benchmark agora_model --img_path ../demo/images/单人半身 --start 1 --end 514 --output_folder ../demo/results/单人半身 --show_verts --show_bbox --save_mesh
    /home/bruce/anaconda3/envs/smplerx/lib/python3.8/site-packages/mmcv/init.py:20: UserWarning: On January 1, 2023, MMCV will release v2.0.0, in which it will remove components related to the training process and add a data transformation module. In addition, it will rename the package names mmcv to mmcv-lite and mmcv-full to mmcv. See https://github.com/open-mmlab/mmcv/blob/master/docs/en/compatibility.md for more details.
    warnings.warn(
    Traceback (most recent call last):
    File "inference.py", line 297, in
    main()
    File "inference.py", line 78, in main
    from base import Demoer
    File "/media/bruce/3696C50196C4C31B/zxx/SMPLer-X/main/../common/base.py", line 11, in
    from SMPLer_X import get_model
    File "/media/bruce/3696C50196C4C31B/zxx/SMPLer-X/main/../main/SMPLer_X.py", line 4, in
    from nets.smpler_x import PositionNet, HandRotationNet, FaceRegressor, BoxNet, HandRoI, BodyRotationNet
    File "/media/bruce/3696C50196C4C31B/zxx/SMPLer-X/main/../common/nets/smpler_x.py", line 6, in
    from utils.human_models import smpl_x
    File "/media/bruce/3696C50196C4C31B/zxx/SMPLer-X/main/../common/utils/human_models.py", line 175, in
    smpl_x = SMPLX()
    File "/media/bruce/3696C50196C4C31B/zxx/SMPLer-X/main/../common/utils/human_models.py", line 20, in init
    self.j14_regressor = pickle.load(f, encoding='latin1')
    ValueError: buffer size does not match array size

Does anyone know how to solve this problem?Thank you very much!