请教生成歌词段落出现问题
xiepeijiao opened this issue · 1 comments
xiepeijiao commented
在训练完成后,使用generate_paragraph.py生成歌词段落,embedding时出现以下错误:
InvalidArgumentError (see above for traceback): indices[15] = 11681 is not in [0, 11681)
[[Node: while/embedding_lookup = GatherV2[Taxis=DT_INT32, Tindices=DT_INT32, Tparams=DT_FLOAT, _device="/job:localhost/replica:0/task:0/device:CPU:0"](while/embedding_lookup/Enter, while/Cast, while/embedding_lookup/axis)]]
想请教下是什么原因?🙏
TobiasLee commented
词表大小 是 11681 的话,那么 word index 最大应该为 11680 这里可能是预处理的时候有点问题?