irolaina / FCRN-DepthPrediction

Deeper Depth Prediction with Fully Convolutional Residual Networks (FCRN)
BSD 2-Clause "Simplified" License
1.11k stars 313 forks source link

Is dropout disabled? #76

Open nicolasrosa opened 6 years ago

nicolasrosa commented 6 years ago

"Following the set of these up-sampling blocks, dropout is applied and succeeded by a final convolutional layer yielding the prediction."

However, in the fcrn.py code, the value of keep_prop is always equal to 1.

.dropout(name='drop', keep_prob=1.)

FIX: .dropout(name='drop', keep_prob=self.keep_prob)

Is that correct?

dagap commented 5 years ago

Dropout probabilistically keeps a neuron activated usually only during training time. I guess the code here is for inference, where the dropout keep probability is usually set to 1.0