Skip to content

Commit

Permalink
fixed a typo
Browse files Browse the repository at this point in the history
  • Loading branch information
dashidhy authored Apr 16, 2019
1 parent 8eaa9bf commit 5aa59f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion second/pytorch/builder/box_coder_builder.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ def build(box_coder_config):
"""
box_coder_type = box_coder_config.WhichOneof('box_coder')
if box_coder_type == 'ground_box3d_coder':
cfg = box_coder_config.bev_box_coder
cfg = box_coder_config.ground_box3d_coder
return GroundBox3dCoderTorch(cfg.linear_dim, cfg.encode_angle_vector)
elif box_coder_type == 'bev_box_coder':
cfg = box_coder_config.bev_box_coder
Expand Down

0 comments on commit 5aa59f8

Please sign in to comment.