From 81e21334e7685a2154007d7c6ce9d84f08f72794 Mon Sep 17 00:00:00 2001 From: LareinaM Date: Fri, 22 Sep 2023 16:03:24 +0800 Subject: [PATCH] modify error --- mmpose/visualization/local_visualizer_3d.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mmpose/visualization/local_visualizer_3d.py b/mmpose/visualization/local_visualizer_3d.py index 444edae738..56f3bbfba1 100644 --- a/mmpose/visualization/local_visualizer_3d.py +++ b/mmpose/visualization/local_visualizer_3d.py @@ -201,7 +201,7 @@ def _draw_3d_instances_kpts(keypoints, kpt_color = kpt_color[valid][..., ::-1] / 255. - ax.scatter(x_3d, y_3d, z_3d, marker='o', color=kpt_color) + ax.scatter(x_3d, y_3d, z_3d, marker='o', c=kpt_color) if show_kpt_idx: for kpt_idx in range(len(x_3d)):