質問編集履歴

2

エラーメッセージの追加

2017/06/09 06:04

投稿

tak__tak
tak__tak

スコア78

test CHANGED
File without changes
test CHANGED
@@ -3,6 +3,16 @@
3
3
  > First use of cell was with scope 'embedding_attention_seq2seq/embedding_attention_decoder/attention_decoder/multi_rnn_cell/cell_0/basic_lstm_cell', this attempt is with scope 'embedding_attention_seq2seq/rnn/multi_rnn_cell/cell_0/basic_lstm_cell'.
4
4
 
5
5
  > Please create a new instance of the cell if you would like it to use a different set of weights.
6
+
7
+
8
+
9
+
10
+
11
+ 生じる場所はここで
12
+
13
+
14
+
15
+ [https://github.com/tensorflow/models/blob/master/tutorials/rnn/translate/translate.py#L125](https://github.com/tensorflow/models/blob/master/tutorials/rnn/translate/translate.py#L125)
6
16
 
7
17
 
8
18
 

1

エラーメッセージの追加

2017/06/09 06:04

投稿

tak__tak
tak__tak

スコア78

test CHANGED
File without changes
test CHANGED
@@ -1,3 +1,19 @@
1
+ > ValueError: Attempt to reuse RNNCell <tensorflow.contrib.rnn.python.ops.core_rnn_cell_impl.BasicLSTMCell object at 0x7f8b5477f668> with a different variable scope than its first use.
2
+
3
+ > First use of cell was with scope 'embedding_attention_seq2seq/embedding_attention_decoder/attention_decoder/multi_rnn_cell/cell_0/basic_lstm_cell', this attempt is with scope 'embedding_attention_seq2seq/rnn/multi_rnn_cell/cell_0/basic_lstm_cell'.
4
+
5
+ > Please create a new instance of the cell if you would like it to use a different set of weights.
6
+
7
+
8
+
9
+
10
+
11
+
12
+
13
+
14
+
15
+
16
+
1
17
  tensorflow1.1 への移行で生じるエラーですがどのようにして解決するのでしょうか
2
18
 
3
19
  [https://github.com/tensorflow/tensorflow/issues/8191](https://github.com/tensorflow/tensorflow/issues/8191)