You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
WARNING:tensorflow:From C:\Users\cydream\Desktop\AGPC-master\model\cell.py:12: BasicLSTMCell.init (from tensorflow.python.ops.rnn_cell_impl) is deprecated and will be removed in a future version.
Instructions for updating:
This class is deprecated, please use tf.nn.rnn_cell.LSTMCell, which supports all the feature this cell currently has. Please replace the existing code with tf.nn.rnn_cell.LSTMCell(name='basic_lstm_cell').
Traceback (most recent call last):
File "train_PCGN.py", line 174, in
main(config)
File "train_PCGN.py", line 79, in main
l2_regularize=l2_regularize, learning_rate=learning_rate, max_to_keep=max_checkpoints, max_gradient_norm=max_gradient_norm,
File "C:\Users\cydream\Desktop\AGPC-master\model\PCGN_model.py", line 89, in init
self.build_model()
File "C:\Users\cydream\Desktop\AGPC-master\model\PCGN_model.py", line 300, in build_model
name='PCGNWrapper')
File "C:\Users\cydream\Desktop\AGPC-master\model\PCGN_attention.py", line 152, in init
if not rnn_cell_impl._like_rnncell(cell): # pylint: disable=protected-access
AttributeError: module 'tensorflow.python.ops.rnn_cell_impl' has no attribute '_like_rnncell'
我装的tensorflow1.4 出现了这个错误
The text was updated successfully, but these errors were encountered:
WARNING:tensorflow:From C:\Users\cydream\Desktop\AGPC-master\model\cell.py:12: BasicLSTMCell.init (from tensorflow.python.ops.rnn_cell_impl) is deprecated and will be removed in a future version.
Instructions for updating:
This class is deprecated, please use tf.nn.rnn_cell.LSTMCell, which supports all the feature this cell currently has. Please replace the existing code with tf.nn.rnn_cell.LSTMCell(name='basic_lstm_cell').
Traceback (most recent call last):
File "train_PCGN.py", line 174, in
main(config)
File "train_PCGN.py", line 79, in main
l2_regularize=l2_regularize, learning_rate=learning_rate, max_to_keep=max_checkpoints, max_gradient_norm=max_gradient_norm,
File "C:\Users\cydream\Desktop\AGPC-master\model\PCGN_model.py", line 89, in init
self.build_model()
File "C:\Users\cydream\Desktop\AGPC-master\model\PCGN_model.py", line 300, in build_model
name='PCGNWrapper')
File "C:\Users\cydream\Desktop\AGPC-master\model\PCGN_attention.py", line 152, in init
if not rnn_cell_impl._like_rnncell(cell): # pylint: disable=protected-access
AttributeError: module 'tensorflow.python.ops.rnn_cell_impl' has no attribute '_like_rnncell'
我装的tensorflow1.4 出现了这个错误
The text was updated successfully, but these errors were encountered: