geopavlakos / multishot

Repository for the paper "Human Mesh Recovery from Multiple Shots"
93 stars 7 forks source link

Needed output from PHALP in regression #8

Open chaitanya100100 opened 1 year ago

chaitanya100100 commented 1 year ago

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 commented 4 months ago
     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/processphalp.py, a valid value is inserted.