zju3dv / mvpose

Code for "Fast and Robust Multi-Person 3D Pose Estimation from Multiple Views" (CVPR 2019, T-PAMI 2021)
https://zju3dv.github.io/mvpose/
Apache License 2.0
515 stars 79 forks source link

No 3d image #92

Open ACBBZ opened 2 years ago

ACBBZ commented 2 years ago

when i run python ./src/m_utils/demo.py -d Campus, i get the first image. After i close the first image, i get this problem. I print the poseIDInCam, poseIDInCam=[None None None].

Traceback (most recent call last): File "./src/m_utils/demo.py", line 91, in <module> pose_in_range = export ( test_model, test_loader, is_info_dicts=bool ( args.dumped_dir ), show=True ) File "./src/m_utils/demo.py", line 43, in export poses3d = model.predict ( imgs=this_imgs, camera_parameter=camera_parameter, template_name='Unified', show=show, plt_id=img_id ) File "/media/nvidia/ae18d654-1677-4472-a284-26f77af52deb1/data/mvpose/src/models/estimate3d.py", line 43, in predict return self._estimate3d ( 0, show=show, plt_id=plt_id ) File "/media/nvidia/ae18d654-1677-4472-a284-26f77af52deb1/data/mvpose/src/models/estimate3d.py", line 148, in _estimate3d plotPaperRows ( self.dataset, matched_list, info_list, sub_imgid2cam, img_id, affinity_mat, geo_affinity_mat, W, plt_id, multi_pose3d ) File "/media/nvidia/ae18d654-1677-4472-a284-26f77af52deb1/data/mvpose/src/m_utils/visualize.py", line 592, in plotPaperRows colorAssignment = [all_color[pid_g] for pid_g in poseIDInCam] File "/media/nvidia/ae18d654-1677-4472-a284-26f77af52deb1/data/mvpose/src/m_utils/visualize.py", line 592, in <listcomp> colorAssignment = [all_color[pid_g] for pid_g in poseIDInCam] TypeError: list indices must be integers or slices, not NoneType

ACBBZ commented 2 years ago

This is the first image Figure_1