tf-dropblock icon indicating copy to clipboard operation
tf-dropblock copied to clipboard

How to make keep_prob variable during training?

Open LanceNorskog opened this issue 5 years ago • 1 comments

Setting the keep probability is only possible during eager evaluation. How can it be made to work during the training phase?

LanceNorskog avatar Aug 23 '20 23:08 LanceNorskog

you can set keep_prob as a tf.Variable and training = True. This way the keep_prob with update during the training time. But I am not sure this the functionality you desire.

kumar10725 avatar Feb 15 '21 16:02 kumar10725