diff --git a/happypose/pose_estimators/cosypose/cosypose/visualization/multiview.py b/happypose/pose_estimators/cosypose/cosypose/visualization/multiview.py index fc3e3068..af97f99d 100644 --- a/happypose/pose_estimators/cosypose/cosypose/visualization/multiview.py +++ b/happypose/pose_estimators/cosypose/cosypose/visualization/multiview.py @@ -181,7 +181,7 @@ def mark_inliers(cand_inputs, cand_matched): ) infos["is_inlier"] = infos["is_inlier"].astype(float) infos.loc[~np.isfinite(infos.loc[:, "is_inlier"].astype(float)), "is_inlier"] = 0 - infos["is_inlier"] = infos["is_inlier"].astype(np.bool) + infos["is_inlier"] = infos["is_inlier"].astype(bool) cand_inputs.infos = infos return cand_inputs