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

Needed output from PHALP in regression #8

Open
chaitanya100100 opened this issue May 18, 2023 · 1 comment
Open

Needed output from PHALP in regression #8

chaitanya100100 opened this issue May 18, 2023 · 1 comment

Comments

@chaitanya100100
Copy link

I am trying to run regression demo on a video.

PHALP repo outputs a pickle file, not npz. And it doesn't have fields like 'valid' required for the demo. Can you please elaborate on that?

@Decide02
Copy link

Decide02 commented May 20, 2024

     else:
        valid = 0
        scale = 1
        center = [0, 0]
        imgname = os.path.join(args.phalp_demo, 'img', track_frame['img_name'][0])
        H, W = track_frame['size'][0]
        pred_pose_aa = np.zeros(72)
        betas = np.zeros(10)
        cam_trans = np.zeros(3)
        torso_joints = np.zeros([4,2])
        body_keypoints = np.zeros([25,3])

When processing a pkl file into npz using optimization/process_phalp.py, a valid value is inserted.

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