def _get_bbox_regression_labels(bbox_target_data, num_classes):
    clss = bbox_target_data[:, 0]
    bbox_targets = np.zeros((clss.size, 4 * num_classes), dtype=np.float32)
    bbox_loss_weights = np.zeros(bbox_targets.shape, dtype=np.float32)
    inds = np.where(clss > 0)[0]
    for ind in inds:
        cls = clss[ind]
        start = 4 * cls
        end = start + 4
        bbox_targets[ind, start:end] = bbox_target_data[ind, 1:]
        bbox_loss_weights[ind, start:end] = [1., 1., 1., 1.]
    return bbox_targets, bbox_loss_weights
An attribute consisting of a list of tuples of the media supported by
dataset/ETHPy150Open rbgirshick/fast-rcnn/lib/roi_data_layer/minibatch.py/_get_bbox_regression_labels--crossover with--dataset/ETHPy150Open mollyproject/mollyproject/molly/apps/contact/providers/__init__.py/BaseContactProvider.normalize_query