ad7115add4e391007853fa7f465448af8e5ec306,mmdet/models/bbox_heads/bbox_head.py,BBoxHead,get_det_bboxes,#BBoxHead#Any#Any#Any#Any#Any#Any#Any#,139

Before Change


            if isinstance(scale_factor, float):
                bboxes /= scale_factor
            else:
                scale_factor = torch.from_numpy(scale_factor).to(bboxes.device)
                bboxes = (bboxes.view(bboxes.size(0), -1, 4) /
                          scale_factor).view(bboxes.size()[0], -1)

        if cfg is None:

After Change


            if isinstance(scale_factor, float):
                bboxes /= scale_factor
            else:
                scale_factor = bboxes.new_tensor(scale_factor)
                bboxes = (bboxes.view(bboxes.size(0), -1, 4) /
                          scale_factor).view(bboxes.size()[0], -1)

        if cfg is None:
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 5

Instances


Project Name: open-mmlab/mmdetection
Commit Name: ad7115add4e391007853fa7f465448af8e5ec306
Time: 2020-03-21
Author: 40779233+ZwwWayne@users.noreply.github.com
File Name: mmdet/models/bbox_heads/bbox_head.py
Class Name: BBoxHead
Method Name: get_det_bboxes


Project Name: open-mmlab/mmdetection
Commit Name: ad7115add4e391007853fa7f465448af8e5ec306
Time: 2020-03-21
Author: 40779233+ZwwWayne@users.noreply.github.com
File Name: mmdet/models/detectors/cascade_rcnn.py
Class Name: CascadeRCNN
Method Name: simple_test


Project Name: open-mmlab/mmdetection
Commit Name: ad7115add4e391007853fa7f465448af8e5ec306
Time: 2020-03-21
Author: 40779233+ZwwWayne@users.noreply.github.com
File Name: mmdet/models/detectors/test_mixins.py
Class Name: MaskTestMixin
Method Name: simple_test_mask