e5072a3f75be4bc02da21ac6401e4f97d462c205,mmdet/models/detectors/rpn.py,RPN,aug_test,#RPN#Any#Any#Any#,115

Before Change


                                                scale_factor, flip,
                                                flip_direction)
        // TODO: remove this restriction
        return proposal_list[0].cpu().numpy()

    def show_result(self, data, result, dataset=None, top_k=20):
        Show RPN proposals on the image.

After Change


                proposals[:, :4] = bbox_mapping(proposals[:, :4], img_shape,
                                                scale_factor, flip,
                                                flip_direction)
        return [proposal.cpu().numpy() for proposal in proposal_list]

    def show_result(self, data, result, dataset=None, top_k=20):
        Show RPN proposals on the image.
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 10

Instances


Project Name: open-mmlab/mmdetection
Commit Name: e5072a3f75be4bc02da21ac6401e4f97d462c205
Time: 2020-09-03
Author: yhcao6@gmail.com
File Name: mmdet/models/detectors/rpn.py
Class Name: RPN
Method Name: aug_test


Project Name: open-mmlab/mmdetection
Commit Name: e5072a3f75be4bc02da21ac6401e4f97d462c205
Time: 2020-09-03
Author: yhcao6@gmail.com
File Name: mmdet/models/detectors/rpn.py
Class Name: RPN
Method Name: simple_test


Project Name: ray-project/ray
Commit Name: f08687f5503b1a59b1f5ce9a4cb0d6983d4d1554
Time: 2020-03-08
Author: sven@anyscale.io
File Name: rllib/policy/torch_policy.py
Class Name: TorchPolicy
Method Name: compute_actions