From b6c7c4d2c194293c6423fd0d991badccc326f943 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=BE=99=E6=BE=B3?= Date: Fri, 17 Jan 2025 15:50:54 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AEbug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- odm_preprocess.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/odm_preprocess.py b/odm_preprocess.py index 96bc64a..b3015c0 100644 --- a/odm_preprocess.py +++ b/odm_preprocess.py @@ -192,7 +192,7 @@ class ImagePreprocessor: previous_points = self.gps_points.copy() # 按时间戳排序 - self.gps_points = self.gps_points.sort_values('timestamp') + self.gps_points = self.gps_points.sort_values('date') # 保留索引为偶数的行(即隔一个保留一个) self.gps_points = self.gps_points.iloc[::2].reset_index(drop=True)