Skip to content

A Dropout rate of 50% is systematically applied in the V-Net even when dropout_prob is set to 0 #6116

@BLmbert

Description

@BLmbert

First of all thanks for this great repo !

I noticed that the segmentation performance of the V-Net was a step below other architectures (DynUNet, BasicUnetPlusPlus ...). By looking at the implementation, I noticed that a dropout rate of 50% is systematically applied (hard-coded) in the UpTransition layers of the V-Net, even the user sets dropout_prob to 0.

In monai.networks.nets.vnet :
self.dropout = dropout_type(dropout_prob) if dropout_prob is not None else None (l147)
--> self.dropout2 = dropout_type(0.5) (l148)

Expected behavior
It is expected that dropout is set to 0 when dropout_prob is set to 0 in the VNet class.

https://github.com/Project-MONAI/MONAI/blob/dev/monai/networks/nets/vnet.py

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions