Skip to content
ml-recall

#weighted-loss

1 question from Segmentation

Timed test

1 question · 1 min · score and explanations at the end

Take a test
Q 1 / 1Score 0 / 0

Question 1: Short answer

mediumAI-checkedSegmentation

U-Net weights its pixel-wise cross-entropy with w(x)=wc(x)+w0exp⁡(−(d1(x)+d2(x))22σ2)w(x) = w_c(x) + w_0 \exp\left(-\frac{(d_1(x) + d_2(x))^2}{2\sigma^2}\right), where d1d_1 and d2d_2 are the distances to the borders of the nearest and the second nearest cell, w0=10w_0 = 10 and σ=5\sigma = 5 pixels. A background pixel between two touching cells has wc(x)=1w_c(x) = 1, d1=2d_1 = 2 and d2=4d_2 = 4. What is w(x)w(x)?

a number, 3 decimals