Closed shenqingzhou closed 3 years ago
hello! I'm wondering when the result of (self.points_per_line / self.feature_height) is not integer, will this line have some problems? (by default it's 72/18=4) https://github.com/huawei-noah/vega/blob/698b6c009c83763870eb1e5db76bde147010b805/zeus/datasets/common/utils/auto_lane_pointlane_codec.py#L289 should it be center_y = y_list[int((self.points_per_line / self.feature_height) * (self.feature_height - 1 - h))]?
(self.points_per_line / self.feature_height)
center_y = y_list[int((self.points_per_line / self.feature_height) * (self.feature_height - 1 - h))]
@sptj
hello! I'm wondering when the result of
(self.points_per_line / self.feature_height)
is not integer, will this line have some problems? (by default it's 72/18=4) https://github.com/huawei-noah/vega/blob/698b6c009c83763870eb1e5db76bde147010b805/zeus/datasets/common/utils/auto_lane_pointlane_codec.py#L289 should it becenter_y = y_list[int((self.points_per_line / self.feature_height) * (self.feature_height - 1 - h))]
?