Skip to content

batch_dice for 3d_fullres depends on whether a 3d_cascade_fullres was planned as well #1301

Discussion options

You must be logged in to vote

Yes it's intentional.
If there exists no 3d_lowres then we can assume that the patch size is similar to the individual image size, so computing the dice loss per sample in the batch makes sense as each sample is essentially one image. This assumes, of course, that the target metric is the dice score, computed for each image independently and then averaged over all images.
Conversely, if a 3d_lowres stage exists, then patch_size << image_size. Thus, we know each patch only shows a fraction of an entire image and the class distributions in the patches most likely do not reflect the true class distribution in the images. This can cause stability problems. Pretending all samples/patches in th…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@BennoGesierich
Comment options

Answer selected by BennoGesierich
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants