b69667001f250a54a37129a000a8d5160e047239,mmdet/core/bbox/assigners/max_iou_assigner.py,MaxIoUAssigner,assign_wrt_overlaps,#MaxIoUAssigner#Any#Any#,114
Before Change
Returns:
:obj:`AssignResult`: The assign result.
if overlaps.numel() == 0:
raise ValueError("No gt or proposals")
num_gts, num_bboxes = overlaps.size(0), overlaps.size(1)
// 1. assign -1 by default
assigned_gt_inds = overlaps.new_full((num_bboxes, ),
After Change
if gt_labels is None:
assigned_labels = None
else:
assigned_labels = overlaps.new_zeros((num_bboxes, ),
dtype=torch.long)
return AssignResult(
num_gts,
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 4
Instances
Project Name: open-mmlab/mmdetection
Commit Name: b69667001f250a54a37129a000a8d5160e047239
Time: 2019-12-24
Author: erotemic@gmail.com
File Name: mmdet/core/bbox/assigners/max_iou_assigner.py
Class Name: MaxIoUAssigner
Method Name: assign_wrt_overlaps
Project Name: cornellius-gp/gpytorch
Commit Name: b2951813547426828d313a80c52de8a619e99731
Time: 2018-11-26
Author: gpleiss@gmail.com
File Name: gpytorch/lazy/constant_mul_lazy_tensor.py
Class Name: ConstantMulLazyTensor
Method Name: _quad_form_derivative
Project Name: open-mmlab/mmdetection
Commit Name: 801c8b19931fb40774eda6dbb6917b6d1085ce8a
Time: 2019-02-13
Author: chenkaidev@gmail.com
File Name: mmdet/core/bbox/assigners/max_iou_assigner.py
Class Name: MaxIoUAssigner
Method Name: assign