Brummi / MonoRec

Official implementation of the paper: MonoRec: Semi-Supervised Dense Reconstruction in Dynamic Environments from a Single Moving Camera (CVPR 2021)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Why set temporal frames from default 2 to 10 when 'lidar_depth' and 'annotated_lidar' are enabled?

ruili3 opened this issue · comments

Hi,

Thank you al lot for your impressive work.

I found a place that I do not understand. As shown in the code below

if self.annotated_lidar and self.lidar_depth:
extra_frames = max(extra_frames, 10)
self._offset = max(self._offset, 5)

why set the nearby frames from default 2 to at least 10 when 'lidar_depth' and 'annotated_lidar' are enabled. Is it a general setting for both training and testing or only a setting for testing? Thank you!

Thank you for showing interest in our work!

If I remember correctly, this is because the annotated lidar is not available for the 5 first and 5 last frames of a sequence. (they are generated by aggregating lidars over multiple timesteps).
Therefore, we have to make sure to ignore the first and last 5 frames in the sequence (-> extra frames >= 10, offset >= 5).

Best,
Felix

You are right :)