Closed poorfriend closed 7 years ago
@piiswrong
Maybe updating to latest version will help. #5114
@Godricly , Thank ,it works. but when I run
output = CNN_MultiBLSTM_CTC_CUDNN(num_hidden, num_label, num_lstm_layer) mx.viz.plot_network(output,shape = {'data': (5,1,64,256),'label':(5,8)}).view()
another error arise:
infer_shape error. Arguments:
Traceback (most recent call last):
data: (5, 1, 64, 256)
File "/home/Documents/MyCode/VLPR/view.py", line 48, in
I guess this is caused by bidirectional lstm, but I don't know how to fix it, can you help me
@piiswrong, Can I used fusedrnn to struct a multilayer bidirectional lstm
same problem.
TypeError: Compose expect `Symbol` as arguments
This issue is closed due to lack of activity in the last 90 days. Feel free to ping me to reopen if this is still an active issue. Thanks!
I want to implement CNN_BLSTM_CTC with CUDNN, but an error arise: Traceback (most recent call last): File "/home/Documents/MyCode/VLPR/view.py", line 25, in
output = CNN_MultiBLSTM_CTC_CUDNN(num_hidden, num_label, num_lstm_layer)
File "/home/Documents/MyCode/VLPR/blstm.py", line 325, in CNN_MultiBLSTM_CTCCUDNN
output, = cell.unroll(num_length, inputs=hidden, merge_outputs=True, layout='NTC')
File "/home/mxnet/python/mxnet/rnn/rnn_cell.py", line 637, in unroll
inputs = symbol.Concat(inputs, dim=0)
File "/home/mxnet/python/mxnet/_ctypes/symbol.py", line 191, in creator
s._compose(*args, name=name, **symbol_kwargs)
File "/home/mxnet/python/mxnet/symbol.py", line 241, in _compose
raise TypeError('Compose expect
Symbol
as arguments') TypeError: Compose expectSymbol
as argumentsHere is my code, How can I fix it
`def CNN_MultiBLSTM_CTC_CUDNN(num_hidden, num_label, num_lstm_layer, num_class = 70, num_length = 32):
def CNN3(indata): """the net is similar to VGG16 each image size is 64*256 """
stage 1