FOTS icon indicating copy to clipboard operation
FOTS copied to clipboard

Saw non-null label

Open kei6 opened this issue 5 years ago • 0 comments

Running command: python multi_gputrain.py Error: Saw non-null label

I've fixed this error by change self.NUM_CLASSES into self.NUM_CLASSES+1 in recognizer.py, because CTC loss in tensorflow need number of class plus 1 to work with:

self.logits = slim.fully_connected(lstmout, self.NUM_CLASSES+1, activation_fn=None, scope='fc')

This action help to pass the bug. I'm on my work to check its right for training.

kei6 avatar Apr 23 '19 03:04 kei6