You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the original implementation, they used a weighted loss function to weight up border pixels so that the network learns those preferentially (see Fig 3D below).
Do you have any suggestions for how to implement this in UNet.jl? I'm still really new to Flux so sorry if this is obvious. My guess would be to implement it in loss()
Could we try with a translation first? I am not familiar with their implementation, but seems to be a combination of masking and weighting. Shouldn't be too difficult at all.
In the original implementation, they used a weighted loss function to weight up border pixels so that the network learns those preferentially (see Fig 3D below).
Do you have any suggestions for how to implement this in
UNet.jl
? I'm still really new to Flux so sorry if this is obvious. My guess would be to implement it inloss()
UNet.jl/src/utils.jl
Lines 49 to 52 in 954c89e
EDIT: Here's an implementation of the pixel-wise weights for Keras: https://jaidevd.github.io/posts/weighted-loss-functions-for-instance-segmentation/
The text was updated successfully, but these errors were encountered: