CNN-LSTM-CTC-text-recognition icon indicating copy to clipboard operation
CNN-LSTM-CTC-text-recognition copied to clipboard

Have a problem in mxnet WarpCTC

Open Wangweilai1 opened this issue 8 years ago • 2 comments

When I run this program in lstm.py file have a error, How can i deal with. Thanks sm = mx.sym.WarpCTC(data=pred, label=label, label_length = num_label, input_length = seq_len)

D:\DeepLearning_Demo\CNN_LSTM_CTC\CNN-LSTM-CTC-text-recognition-master>python train_lstm.py Traceback (most recent call last): File "train_lstm.py", line 196, in symbol = sym_gen(SEQ_LENGTH) File "train_lstm.py", line 187, in sym_gen num_label = num_label) File "D:\DeepLearning_Demo\CNN_LSTM_CTC\CNN-LSTM-CTC-text-recognition-master\symbol\lstm.py", line 79, in lstm_unroll sm = mx.sym.WarpCTC(data=pred, label=label, label_length = num_label, input_length = seq_len) AttributeError: module 'mxnet.symbol' has no attribute 'WarpCTC'

Wangweilai1 avatar Dec 12 '17 04:12 Wangweilai1

You should install the warpctc first. Please check this issue: https://github.com/oyxhust/CNN-LSTM-CTC-text-recognition/issues/4.

oyxhust avatar Dec 13 '17 02:12 oyxhust

how did you resolve this ?

sivaaninraj avatar Jun 01 '19 08:06 sivaaninraj