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

train error #175

Open
JLUForever opened this issue Aug 8, 2021 · 0 comments
Open

train error #175

JLUForever opened this issue Aug 8, 2021 · 0 comments

Comments

@JLUForever
Copy link

When I execute the "train.py" file, I met an error below:

2021-08-08 10:52:09.820154: W tensorflow/core/framework/op_kernel.cc:1273] OP_REQUIRES failed at matmul_op.cc:478 : Resource exhausted: OOM when allocating tensor with shape[12544,2048] and type float on /job:localhost/replica:0/task:0/device:GPU:0 by allocator GPU_0_bfc

My GPU is a GeForce GTX 1080.

I changed the vocab_size from 32000 to 2000, but it didn't work, what should I do?

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