Skip to content

Commit

Permalink
Merge pull request traveller59#161 from dashidhy/patch-1
Browse files Browse the repository at this point in the history
fixed a small bug in box coder builder
  • Loading branch information
traveller59 authored Apr 17, 2019
2 parents 8eaa9bf + 5aa59f8 commit c7bb659
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 c7bb659

Please sign in to comment.