From 24fec128b82a26ec974dd74aa367dd88adce6e85 Mon Sep 17 00:00:00 2001 From: lenville Date: Sat, 27 May 2023 14:48:44 +0800 Subject: [PATCH] fix typo in visual.py the function name lidiar_render should be lidar_render --- tools/analysis_tools/visual.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/analysis_tools/visual.py b/tools/analysis_tools/visual.py index f711b75..4dd220c 100644 --- a/tools/analysis_tools/visual.py +++ b/tools/analysis_tools/visual.py @@ -272,7 +272,7 @@ def get_predicted_data(sample_data_token: str, -def lidiar_render(sample_token, data,out_path=None): +def lidar_render(sample_token, data,out_path=None): bbox_gt_list = [] bbox_pred_list = [] anns = nusc.get('sample', sample_token)['anns'] @@ -392,7 +392,7 @@ def render_sample_data( to False, the colors of the lidar data represent the distance from the center of the ego vehicle. If show_lidarseg is True, show_panoptic will be set to False. """ - lidiar_render(sample_toekn, pred_data, out_path=out_path) + lidar_render(sample_toekn, pred_data, out_path=out_path) sample = nusc.get('sample', sample_toekn) # sample = data['results'][sample_token_list[0]][0] cams = [