“…A possible way of reducing this effect is to make use of a weighted BCE (WBCE) loss, in which each class’ contribution is weighted by the inverse frequency of its occurrence. This is seen in Equation .In the case of our binary problem,Furthermore, in the case where objects have indistinct edges, the use of a pre‐computed weight map to reduce the contribution of edge pixels with low annotation confidence can be used (James & Bradshaw, 2019). This is defined as in Equation .where ω map is defined with two additional hyper‐parameters α and β as,The inverse class frequency weighted variant of this loss function was used, defined in Equation , where ω c has the same values as defined for WBCE.…”