MIC-DKFZ / BraTS2017

Apache License 2.0
75 stars 16 forks source link

A question on the context pathway #3

Closed pykao closed 6 years ago

pykao commented 6 years ago

Hello,

In the code network_architecture, from line 69 to 72, you did not apply BatchNormalization for skip1 layer.

l = ElemwiseSumLayer((l, r))
skip1 = NonlinearityLayer(l, nonlin)
if do_norm:
    l = BatchNormLayer(l, axes=axes)
l = NonlinearityLayer(l, nonlin)

However, for skip2, skip3 and skip4, you did apply BatchNormalization for these layers.

l = ElemwiseSumLayer((l, r))
if do_norm:
    l = BatchNormLayer(l, axes=axes)
l = skip3 = NonlinearityLayer(l, nonlin)

Can you explain the reason why you did not apply the BatchNormalizatoin on the first skip layer?

Best, Po-Yu

FabianIsensee commented 6 years ago

Dear Po-Yu, I did not use BN for the entire first stage and that is why I also did not apply it to batch normalization. It was one of the many things I tested but honestly, it does not make a significant difference whether you do BN in the first stage or not. Regards, Fabian

pykao commented 6 years ago

Dear Fabian, Thank you for your explanation! Best, Po-Yu