Skip to content

Commit 048849b

Browse files
committed
remove pdb
1 parent cdf7b6d commit 048849b

File tree

4 files changed

+0
-4
lines changed

4 files changed

+0
-4
lines changed

projects/mmdet3d_plugin/uniad/dense_heads/planning_head_plugin/planning_metrics.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,6 @@ def update(self, trajs, gt_trajs, gt_trajs_mask, segmentation):
130130
segmentation: torch.Tensor (B, n_future, 200, 200)
131131
'''
132132
assert trajs.shape == gt_trajs.shape
133-
# import pdb;pdb.set_trace()
134133
trajs[..., 0] = - trajs[..., 0]
135134
gt_trajs[..., 0] = - gt_trajs[..., 0]
136135
L2 = self.compute_L2(trajs, gt_trajs, gt_trajs_mask)

tools/analysis_tools/visualize/render/bev_render.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,6 @@ def render_planning_attn_mask(self, predicted_planning):
203203
-51.2, 51.2, -51.2, 51.2), vmax=0.2, cmap=matplotlib.colormaps[cmap_name])
204204

205205
def render_hd_map(self, nusc, nusc_maps, sample_token):
206-
# import pdb;pdb.set_trace()
207206
sample_record = nusc.get('sample', sample_token)
208207
sd_rec = nusc.get('sample_data', sample_record['data']['LIDAR_TOP'])
209208
cs_record = nusc.get('calibrated_sensor',

tools/analysis_tools/visualize/render/cam_render.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,6 @@ def project_to_cam(self,
4747
_, cs_record, pose_record, cam_intrinsic, imsize = self.get_image_info(
4848
sample_data_token, nusc)
4949
boxes = []
50-
# import pdb;pdb.set_trace()
5150
for agent in agent_prediction_list:
5251
box = Box(agent.pred_center, agent.pred_dim, Quaternion(axis=(0.0, 0.0, 1.0), radians=agent.pred_yaw),
5352
name=agent.pred_label, token='predicted')

tools/data_converter/uniad_nuscenes_converter.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -319,7 +319,6 @@ def _fill_trainval_infos(nusc,
319319
for ann in annotations]
320320
future_traj_all, future_traj_valid_mask_all = _get_future_traj_info(nusc, sample)
321321
instance_tokens = [ann['instance_token'] for ann in annotations] # dtype('<U[length_of_str]')
322-
# import pdb; pdb.set_trace()
323322

324323
# TODO: Add traj in next dataset_version
325324
# future_traj_all, future_traj_valid_mask_all = _get_future_traj_info(nusc, sample)

0 commit comments

Comments
 (0)