From 371d549ac7b84ec605eb28943e7dda01704d7c37 Mon Sep 17 00:00:00 2001 From: Benedikt Mersch Date: Mon, 20 Jan 2025 14:31:24 +0100 Subject: [PATCH] Use the same parameter --- src/mos4d/config/config.py | 1 - src/mos4d/pipeline.py | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/mos4d/config/config.py b/src/mos4d/config/config.py index 532163b..5dfc73c 100644 --- a/src/mos4d/config/config.py +++ b/src/mos4d/config/config.py @@ -42,7 +42,6 @@ class MOSConfig(BaseModel): voxel_size_mos: float = 0.1 delay_mos: int = 10 prior: float = 0.25 - n_scans: int = 10 max_range_mos: float = 50.0 min_range_mos: float = 0.0 diff --git a/src/mos4d/pipeline.py b/src/mos4d/pipeline.py index 8fcb434..d870e4b 100644 --- a/src/mos4d/pipeline.py +++ b/src/mos4d/pipeline.py @@ -80,7 +80,7 @@ def __init__( self.model.cuda().eval().freeze() self.odometry = Odometry(self.config.data, self.config.odometry) - self.buffer = deque(maxlen=self.config.mos.n_scans) + self.buffer = deque(maxlen=self.config.mos.delay_mos) self.dict_logits = {} self.dict_gt_labels = {}