04cadd3fca61320acf266fcd00b25b6af8a86e55,keras_rcnn/layers/losses/_mask_rcnn.py,RCNNMaskLoss,compute_mask_loss,#,120

Before Change


        a = RCNNMaskLoss.binary_crossentropy(target=target_mask, output=output_mask)

        // loss = keras.backend.sum(a * b) / keras.backend.sum(b)
        loss = keras.backend.mean(a * b)

        // TODO: we should try:
        //   `keras.backend.mean(a * b) + keras.backend.mean(1 - b)`

After Change



        a = RCNNMaskLoss.binary_crossentropy(target=target_mask, output=output_mask)

        loss = keras.backend.sum(a * b) / keras.backend.sum(b)
        // loss = keras.backend.mean(a * b)

        // TODO: we should try:
        //   `keras.backend.mean(a * b) + keras.backend.mean(1 - b)`
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 5

Instances


Project Name: broadinstitute/keras-rcnn
Commit Name: 04cadd3fca61320acf266fcd00b25b6af8a86e55
Time: 2018-11-20
Author: mbroisin@wma13-b01.broadinstitute.org
File Name: keras_rcnn/layers/losses/_mask_rcnn.py
Class Name: RCNNMaskLoss
Method Name: compute_mask_loss


Project Name: broadinstitute/keras-rcnn
Commit Name: 6207d0de56fee3517f8f07193f79f900379fa666
Time: 2018-11-15
Author: mbroisin@wma13-b01.broadinstitute.org
File Name: keras_rcnn/layers/losses/_mask_rcnn.py
Class Name: RCNNMaskLoss
Method Name: compute_mask_loss


Project Name: broadinstitute/keras-rcnn
Commit Name: 5fd4a0a00d515f712b89174eae698abe3d739379
Time: 2018-11-16
Author: mbroisin@wma13-b01.broadinstitute.org
File Name: keras_rcnn/layers/losses/_mask_rcnn.py
Class Name: RCNNMaskLoss
Method Name: compute_mask_loss