From cbd02f8eac611fbd1679bd2b5c24b4dda704a26b Mon Sep 17 00:00:00 2001 From: mfourmy Date: Wed, 14 Feb 2024 11:24:43 +0100 Subject: [PATCH] np.bool -> bool --- .../cosypose/cosypose/visualization/multiview.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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