Skip to content

Commit

Permalink
2022.08.30 19:22
Browse files Browse the repository at this point in the history
  • Loading branch information
2gunsu committed Aug 30, 2022
1 parent f5d69aa commit d40ebb0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion model/dense_heads/monocon_heads.py
Original file line number Diff line number Diff line change
Expand Up @@ -459,7 +459,7 @@ def decode_heatmap(self,

depth = depth_pred[:, :, 0:1] # (B, K, 1)
center3d = torch.cat([center2d, depth], dim=-1) # (B, K, 3)
center3d = self.convert_pts2D_to_pts3D(center3d, batched_calib=data_dict['calib']) # (B, K, 3)
center3d = self.convert_pts2D_to_pts3D(center3d, batched_calib=data_dict['calib']) # (B, K, 3)

dim = transpose_and_gather_feat(pred_dict['dim_pred'], indices)
bboxes_3d = torch.cat([center3d, dim, rot_y], dim=-1)
Expand Down

0 comments on commit d40ebb0

Please sign in to comment.