Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error #1

Open
SunYunyun opened this issue Dec 5, 2018 · 2 comments
Open

error #1

SunYunyun opened this issue Dec 5, 2018 · 2 comments

Comments

@SunYunyun
Copy link

你好请问你运行时会不会报这个错误呢
InvalidArgumentError (see above for traceback): indices[13,154] = 2643 is not in [0, 2641)
[[Node: char_embedding/embedding_lookup = Gather[Tindices=DT_INT32, Tparams=DT_FLOAT, _class=["loc:@char_embedding/char_embedding"], validate_indices=true, _device="/job:localhost/replica:0/task:0/device:CPU:0"](char_embedding/char_embedding/read, _arg_ChatInputs_0_0)]]

@RicherDong
Copy link
Owner

这个模型我是训练过的;没有这个报错; 你这个报错;你可以试一下把config.py文件里面的num_chars配置项目改一下;改成2643;试试, 我也会把这个项目down下来;再试跑一遍;确保没有这个问题!

@Shengrun2020
Copy link

你好,我想问下,为什么换了训练集以后,我的训练集文本比你的长,换了以后内存飙升,4000条训练集,20G内存都不够,batch_size调到20都不行

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants