File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
mmdet3d/models/dense_heads Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -519,16 +519,16 @@ def get_targets_single(self,
519
519
for k in range (num_objs ):
520
520
cls_id = task_classes [idx ][k ] - 1
521
521
522
- width = task_boxes [idx ][k ][3 ]
523
- length = task_boxes [idx ][k ][4 ]
524
- width = width / voxel_size [0 ] / self .train_cfg [
522
+ length = task_boxes [idx ][k ][3 ]
523
+ width = task_boxes [idx ][k ][4 ]
524
+ length = length / voxel_size [0 ] / self .train_cfg [
525
525
'out_size_factor' ]
526
- length = length / voxel_size [1 ] / self .train_cfg [
526
+ width = width / voxel_size [1 ] / self .train_cfg [
527
527
'out_size_factor' ]
528
528
529
529
if width > 0 and length > 0 :
530
530
radius = gaussian_radius (
531
- (length , width ),
531
+ (width , length ),
532
532
min_overlap = self .train_cfg ['gaussian_overlap' ])
533
533
radius = max (self .train_cfg ['min_radius' ], int (radius ))
534
534
You can’t perform that action at this time.
0 commit comments