Skip to content
This repository was archived by the owner on Oct 13, 2021. It is now read-only.

Commit 3eb0ffe

Browse files
committed
fix problem mentioned in traveller59#49.
1 parent f3a56c8 commit 3eb0ffe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

second/pytorch/builder/box_coder_builder.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ def build(box_coder_config):
1919
"""
2020
box_coder_type = box_coder_config.WhichOneof('box_coder')
2121
if box_coder_type == 'ground_box3d_coder':
22-
cfg = box_coder_config.bev_box_coder
22+
cfg = box_coder_config.ground_box3d_coder
2323
return GroundBox3dCoderTorch(cfg.linear_dim, cfg.encode_angle_vector)
2424
elif box_coder_type == 'bev_box_coder':
2525
cfg = box_coder_config.bev_box_coder

0 commit comments

Comments
 (0)