From 9b90b1e1650725e29c0d73aea41d2e1f0d80984f Mon Sep 17 00:00:00 2001 From: HJW <1576345902@qq.com> Date: Thu, 26 Sep 2024 20:10:12 +0800 Subject: [PATCH] =?UTF-8?q?UPDATE=20Vision=20bug=20=E5=9D=90=E6=A0=87?= =?UTF-8?q?=E8=B6=85=E8=8C=83=E5=9B=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Vision/tool/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Vision/tool/utils.py b/Vision/tool/utils.py index c23661a..028a009 100644 --- a/Vision/tool/utils.py +++ b/Vision/tool/utils.py @@ -33,7 +33,6 @@ def remove_nan_mean_value(pm, y, x, iter_max=50): y, x = out_bounds_dete(pm.shape[0], pm.shape[1], y, x) point_x, point_y, point_z = pm[y, x] if np.isnan(point_x): - print('Nan值去除') point_x_list = [] point_y_list = [] point_z_list = [] @@ -41,6 +40,7 @@ def remove_nan_mean_value(pm, y, x, iter_max=50): pm_shape_y = pm.shape[0] pm_shape_x = pm.shape[1] remove_nan_isok = False + print('Nan值去除') while iter_current < iter_max: # 计算开始点 if y - iter_current > 0: