Skip to content

confused with ignore_mask and true_object_mask #12

@speeding-motor

Description

@speeding-motor
ignore_mask = best_ious < ignore_threshold
confidence_loss = true_object_mask * self.__binary_crossentropy_keep_dim(true_object_mask, pred_features[..., 4:5], from_logits=True) + \
                              (1 - true_object_mask) * self.__binary_crossentropy_keep_dim(true_object_mask, pred_features[..., 4:5], from_logits=True) * ignore_mask

when compute the confidence_loss, here you use the ignore_mask, and only in here, other place all use the true_object_mask, I m really confused with this part...

any reply is appreciate, thanks in advance
@calmisential

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions