potterhsu / SVHNClassifier

A TensorFlow implementation of Multi-digit Number Recognition from Street View Imagery using Deep Convolutional Neural Networks (http://arxiv.org/pdf/1312.6082.pdf)
GNU General Public License v3.0
206 stars 74 forks source link

issue about model.py/dropout = tf.layers.dropout(pool, rate=drop_rate) #16

Open YanShuang17 opened 6 years ago

YanShuang17 commented 6 years ago

Hello, when i train the model with my own dataset, i found the statement: dropout = tf.layers.dropout(pool, rate=drop_rate) in model.py may be have problem. The operation: tf.layers.dropout() in TensorFlow's document has an argument of training, and training=False by default, in your code, you didn't set the training argument, so, although you set the rate value, the model won't conduct the dropout operation???