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

关于Question-Answer代码问题 #22

Open
bbgasj opened this issue Apr 17, 2018 · 0 comments
Open

关于Question-Answer代码问题 #22

bbgasj opened this issue Apr 17, 2018 · 0 comments

Comments

@bbgasj
Copy link

bbgasj commented Apr 17, 2018

我使用TF1.2.1,一些api的问题已经修改;但是在运行时遇到如下问题:
1、在CPU下运行baseline.py和irgan.py都会会报如下错误:

  
 InvalidArgumentError (see above for traceback): indices[0,11] = 3408 is not in [0, 3231)
[[Node: output_2/embedding_lookup_1 = Gather[Tindices=DT_INT32, Tparams=DT_FLOAT, _class=["loc:@embedding_1/embedding_W"], validate_indices=true, _device="/job:localhost/replica:0/task:0/cpu:0"](embedding_1/embedding_W, _arg_input_x_2_1_0_1)]]
   

2、在GPU(P40)下运行baseline.py报如下错误,感觉内存不够,缩小batch_size为50后可运行:

  
2018-04-17 19:35:50.616583: F tensorflow/core/framework/tensor_shape.cc:241] Check failed: size >= 0 (-6838710080 vs. 0)
   

3、在GPU(P40)下运行irgan.py仍然报如上错误,改小batch_size也不行,请问实验环境的配置要求多高?

谢谢。
@wabyking @LantaoYu @pangolulu

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

1 participant