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

ValueError: buffer size does not match array size #48

Open
zxx123518 opened this issue Feb 29, 2024 · 0 comments
Open

ValueError: buffer size does not match array size #48

zxx123518 opened this issue Feb 29, 2024 · 0 comments
Assignees

Comments

@zxx123518
Copy link

  • 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!

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

3 participants