最近,我尝试使用tensorflow来实现基于文章cnn+ctc的网络。这是我的问题:我想在tensorflow库中使用tf.nn.ctc_loss函数,但是它生成输入形状为:?ctc_loss函数在tensorflow官方站点中的描述需要一个带有形状的3d输入(batch_size X max_time X num_class
我想在输出层实现CTC。我试图按照github的image_ocr示例来实现CTC。但是,在我的CTC实现中,我得到了以下错误。for i in str(Y_train)])input_length=1
def ctc_lambda_funcfirst couple outputs of the RNN y_pred = y_pred[:, 2: