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

No 3d image #92

Open
ACBBZ opened this issue Jul 12, 2022 · 1 comment
Open

No 3d image #92

ACBBZ opened this issue Jul 12, 2022 · 1 comment

Comments

@ACBBZ
Copy link

ACBBZ commented Jul 12, 2022

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
Copy link
Author

ACBBZ commented Jul 12, 2022

This is the first image
Figure_1

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

1 participant