Skip to content

Commit a8ca0c3

Browse files
committed
1 parent a9238fe commit a8ca0c3

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

second/configs/car.lite.config

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ train_input_reader: {
108108
prefetch_size : 25
109109
max_number_of_voxels: 15000
110110
shuffle_points: true
111-
num_workers: 0
111+
num_workers: 3
112112
groundtruth_localization_noise_std: [1.0, 1.0, 0.5]
113113
# groundtruth_rotation_uniform_noise: [-0.3141592654, 0.3141592654]
114114
groundtruth_rotation_uniform_noise: [-1.57, 1.57]

second/data/preprocess.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -195,9 +195,9 @@ def prep_pointcloud(input_dict,
195195
points = points[masks.any(-1)]
196196

197197
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)
201201
selected = kitti.drop_arrays_by_name(gt_dict["gt_names"], ["DontCare"])
202202
_dict_select(gt_dict, selected)
203203
if remove_unknown:
@@ -287,10 +287,10 @@ def prep_pointcloud(input_dict,
287287
gt_dict["gt_boxes"][:, 6] = box_np_ops.limit_period(
288288
gt_dict["gt_boxes"][:, 6], offset=0.5, period=2 * np.pi)
289289

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)
294294

295295
if shuffle_points:
296296
# shuffle is a little slow.

0 commit comments

Comments
 (0)