나는를 호출 할 때까지 내가 http://mxnet.io/tutorials/nlp/cnn.html오류
에 텍스트를 따라 분류 튜토리얼을 시도하고있다 기능 :
conv_input = mx.sym.Reshape(data=embed_layer, target_shape=(batch_size, 1, sentence_size, num_embed))
모든 것이 잘됩니다. 그런데 오류가 발생합니다.
conv_input = mx.sym.Reshape(data=embed_layer, target_shape=(batch_size, 1, sentence_size, num_embed))
Traceback (most recent call last): File "", line 1, in File "C:\Users\my.name\Downloads\WinPython-64bit-2.7.10.3\python-2.7.10.amd64\lib\site-packages\mxnet-0.7.0-py2.7.egg\mxnet\symbol.py", line 1062, in creator ctypes.byref(sym_handle))) File "C:\Users\my.name\Downloads\WinPython-64bit-2.7.10.3\python-2.7.10.amd64\lib\site-packages\mxnet-0.7.0-py2.7.egg\mxnet\base.py", line 77, in check_call raise MXNetError(py_str(_LIB.MXGetLastError())) mxnet.base.MXNetError: Invalid Parameter format for target_shape expect Shape(tuple) but value='(50, 1, 56L, 300)'
누구나 아이디어가 있습니까?이 작업을 수행하는 방법은 무엇입니까?
모든 것을 다시 확인하면 내 편이 잘 작동합니다 ... –