InvalidArgumentError (see above for traceback): Received a label value of 318 which is outside the valid range of [0, 256). Label values: 999 999 999
[[Node: st_model/model_with_buckets/st_model_2/sequence_loss/sequence_loss_by_example/SparseSoftmaxCrossEntropy
WithLogits_3/SparseSoftmaxCrossEntropyWithLogits = SparseSoftmaxCrossEntropyWithLogits[T=DT_FLOAT, Tlabels=DT_INT32, _de
vice="/job:localhost/replica:0/task:0/device:CPU:0"](st_model/model_with_buckets/st_model_2/embedding_attention_seq2seq/
cond/Merge_3, st_model/model_with_buckets/st_model_2/sequence_loss/sequence_loss_by_example/Reshape_3)]]
おそらくこちらと同じ問題で、 https://github.com/llSourcell/tensorflow_chatbot/issues/32
target = array_ops.reshape(target, [-1])
おそらく問題の変数の部分を
target = array_ops.reshape(target, [-1,])
このように変更したのですが、エラーが全く変わりませんでした。
これはどのように対応すれば良いのでしょうか
回答2件
あなたの回答
tips
プレビュー