~/anaconda3/lib/python3.6/site-packages/tflearn/layers/recurrent.py in <module>()
12 # Fix for TF 1.1.0 and under
13 from tensorflow.contrib.rnn.python.ops.core_rnn import static_rnn as _rnn, static_bidirectional_rnn as _brnn
---> 14 from tensorflow.python.ops.rnn import rnn_cell_impl as _rnn_cell, dynamic_rnn as _drnn
15 from tensorflow.contrib.rnn.python.ops import core_rnn_cell
16
ImportError: cannot import name 'rnn_cell_impl'
得到以下错误。 TF 1.4版。
也发布你的代码。尝试以下方式,
from tensorflow.python.ops import rnn_cell_impl