CRNN
CRNN copied to clipboard
Possible bug in using Batch normalisation
-
training
parameter is not given while initialisingtf.layers.batch_normalization
. Thetraining
parameter defaults toFalse
. Hence while training the moving mean and moving variance won't be updated. -
Since this branch's tf api is <tf2,
tf.GraphKeys.UPDATE_OPS
andtrain_op
have to be executed before training [ref]. I could not find these updations in the training code.
https://github.com/Belval/CRNN/blob/becd222c2495b109fb598cb4972e1b2cc8080aa6/CRNN/crnn.py#L163
boy,you saved this code