CRNN icon indicating copy to clipboard operation
CRNN copied to clipboard

Possible bug in using Batch normalisation

Open mrtpk opened this issue 5 years ago • 1 comments

  • training parameter is not given while initialising tf.layers.batch_normalization. The training parameter defaults to False. 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 and train_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

mrtpk avatar Feb 24 '20 11:02 mrtpk

boy,you saved this code

lulupanPPY avatar May 07 '20 06:05 lulupanPPY