(self, proposal_matcher, box_coder,
                 generate_labels_func,
                 sigmoid_focal_loss,
                 bbox_reg_beta=0.11,
                 regress_norm=1.0)
Arguments:
            proposal_matcher (Matcher)
            box_coder (BoxCoder)
Arguments:
            proposal_matcher (Matcher)
            box_coder (BoxCoder)
Arguments : proposal_matcher ( Matcher ) box_coder ( BoxCoder )
def __init__(self, proposal_matcher, box_coder,
                 generate_labels_func,
                 sigmoid_focal_loss,
                 bbox_reg_beta=0.11,
                 regress_norm=1.0):
        """
        Arguments:
            proposal_matcher (Matcher)
            box_coder (BoxCoder)
        """
        self.proposal_matcher = proposal_matcher
        self.box_coder = box_coder
        self.box_cls_loss_func = sigmoid_focal_loss
        self.bbox_reg_beta = bbox_reg_beta
        self.copied_fields = ['labels']
        self.generate_labels_func = generate_labels_func
        self.discard_cases = ['between_thresholds']
        self.regress_norm = regress_norm
def __init__ ( self , proposal_matcher , box_coder , generate_labels_func , sigmoid_focal_loss , bbox_reg_beta = 0.11 , regress_norm = 1.0 ) : self . proposal_matcher = proposal_matcher self . box_coder = box_coder self . box_cls_loss_func = sigmoid_focal_loss self . bbox_reg_beta = bbox_reg_beta self . copied_fields = [ 'labels' ] self . generate_labels_func = generate_labels_func self . discard_cases = [ 'between_thresholds' ] self . regress_norm = regress_norm