Belval / CRNN

A TensorFlow implementation of https://github.com/bgshih/crnn

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Possible bug in using Batch normalisation

mrtpk opened this issue · 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.

bnorm1 = tf.layers.batch_normalization(conv3)

boy,you saved this code