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

How could I get the SMPL parameters? #8

Open
NewPhrexian opened this issue Oct 23, 2024 · 1 comment
Open

How could I get the SMPL parameters? #8

NewPhrexian opened this issue Oct 23, 2024 · 1 comment

Comments

@NewPhrexian
Copy link

After followed the instructions in README and sucessfully run the main_chat.py, I can't get any SMPL parameters or images.
The results are listed below:

(chatpose) zbw@node01:~/PoseGPT$ python main_chat.py --image_file dataset/baber.png
/home/zbw/anaconda3/envs/chatpose/lib/python3.9/site-packages/huggingface_hub/file_download.py:797: FutureWarning: resume_download is deprecated and will be removed in version 1.0.0. Downloads always resume when possible. If you want to force a new download, use force_download=True.
warnings.warn(
creating the SMPLX Decoder
Loading checkpoint shards: 100%|█████████████████████████████████████████████████████████████████████████████████████| 3/3 [00:09<00:00, 3.01s/it]
Some weights of ChatPoseForCausalLM were not initialized from the model checkpoint at YaoFeng/CHATPOSE-V0 and are newly initialized: ['model.smplx.dynamic_lmk_faces_idx', 'model.smplx.shape_params', 'model.smplx.expression_params', 'model.smplx.neck_pose', 'model.smplx.lbs_weights', 'model.smplx.v_template', 'model.smplx.eye_pose', 'model.smplx.head_pose', 'model.smplx.head_kin_chain', 'model.smplx.parents', 'model.smplx.left_hand_pose', 'model.smplx.right_hand_pose', 'model.smplx.lmk_faces_idx', 'model.smplx.J_regressor', 'model.smplx.faces_tensor', 'model.smplx.global_pose', 'model.smplx.shapedirs', 'model.smplx.posedirs', 'model.smplx.jaw_pose', 'model.smplx.body_pose', 'model.smplx.dynamic_lmk_bary_coords', 'model.smplx.lmk_bary_coords']
You should probably TRAIN this model on a down-stream task to be able to use it for predictions and inference.
USER: Please give the SMPL pose of this person.
/home/zbw/anaconda3/envs/chatpose/lib/python3.9/site-packages/transformers/generation/utils.py:1270: UserWarning: You have modified the pretrained model configuration to control generation. This is a deprecated strategy to control generation and will be removed soon, in a future version. Please use a generation configuration file (see https://huggingface.co/docs/transformers/main_classes/text_generation )
warnings.warn(
ASSISTANT: The SMPL pose of the person is [POSE] .
USER:

@EurusYu
Copy link

EurusYu commented Oct 30, 2024

@NewPhrexian Hello my friend, sorry to bother you! I am also working on learning this project recently, but I ran into some issues while trying to reproduce it. I was wondering if you managed to reproduce it successfully? If so, would you be open to further discussion? 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

2 participants