@@ -195,9 +195,9 @@ def prep_pointcloud(input_dict,
195
195
points = points [masks .any (- 1 )]
196
196
197
197
if training :
198
- boxes_lidar = gt_dict ["gt_boxes" ]
199
- bev_map = simplevis .kitti_vis (points , boxes_lidar )
200
- cv2 .imshow ('pre-noise' , bev_map )
198
+ # boxes_lidar = gt_dict["gt_boxes"]
199
+ # bev_map = simplevis.kitti_vis(points, boxes_lidar)
200
+ # cv2.imshow('pre-noise', bev_map)
201
201
selected = kitti .drop_arrays_by_name (gt_dict ["gt_names" ], ["DontCare" ])
202
202
_dict_select (gt_dict , selected )
203
203
if remove_unknown :
@@ -287,10 +287,10 @@ def prep_pointcloud(input_dict,
287
287
gt_dict ["gt_boxes" ][:, 6 ] = box_np_ops .limit_period (
288
288
gt_dict ["gt_boxes" ][:, 6 ], offset = 0.5 , period = 2 * np .pi )
289
289
290
- boxes_lidar = gt_dict ["gt_boxes" ]
291
- bev_map = simplevis .kitti_vis (points , boxes_lidar )
292
- cv2 .imshow ('post-noise' , bev_map )
293
- cv2 .waitKey (0 )
290
+ # boxes_lidar = gt_dict["gt_boxes"]
291
+ # bev_map = simplevis.kitti_vis(points, boxes_lidar)
292
+ # cv2.imshow('post-noise', bev_map)
293
+ # cv2.waitKey(0)
294
294
295
295
if shuffle_points :
296
296
# shuffle is a little slow.
0 commit comments