suriyadeepan/easy_seq2seq

InvalidArgumentError

Opened this issue · 0 comments

InvalidArgumentError (see above for traceback): Received a label value of 15328 which is outside the valid range of [0, 256). Label values: 84 60 82 128 79 7 3 60 10401 7 83 232 296 20 190 1278 7 3423 3 7 301 47 1949 69 7 8773 7 2818 104 56 1214 117 78 255 20 7 394 185 115 234 2106 4 9967 15328 10540 185 2914 56 20 127 82 4936 47 83 1809 1866 7 1182 7 47 906 33 7 69
[[Node: model_with_buckets/sequence_loss_3/sequence_loss_by_example/SparseSoftmaxCrossEntropyWithLogits/SparseSoftmaxCrossEntropyWithLogits = SparseSoftmaxCrossEntropyWithLogits[T=DT_FLOAT, Tlabels=DT_INT32, _device="/job:localhost/replica:0/task:0/device:CPU:0"](model_with_buckets/embedding_attention_seq2seq_3/embedding_attention_decoder/attention_decoder/AttnOutputProjection/BiasAdd, model_with_buckets/sequence_loss_3/sequence_loss_by_example/Reshape)]]

This is the InvalidArgumentError Exception due to line no. 224 ( outputs = session.run(output_feed, input_feed)) in seq2seq_model.py
type(output_feed)=list
type(input_feed)=dict