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

ResourceExhaustedError (see above for traceback): OOM when allocating tensor with shape[20,800,600,64] #34

Open
wasedawesley opened this issue Nov 24, 2017 · 1 comment

Comments

@wasedawesley
Copy link

Limit: 3406036992
InUse: 2376772608
MaxInUse: 2613990400
NumAllocs: 197
MaxAllocSize: 411041792

W tensorflow/core/common_runtime/bfc_allocator.cc:274] ________***********************_____________________
W tensorflow/core/common_runtime/bfc_allocator.cc:275] Ran out of memory trying to allocate 2.29GiB. See logs for memory state.
W tensorflow/core/framework/op_kernel.cc:993] Resource exhausted: OOM when allocating tensor with shape[20,800,600,64]

I have 4G ram, but nevertheless how much I change the batch size to , it won't work, anyone can help me?

我batch size不管怎么调,始终显示上面的错误,而且batch size越小,INuse的量反而越大

@qqsh0214
Copy link

qqsh0214 commented Dec 8, 2017

@wasedawesley Which one do you use? FCN.py or FCN_plus.py?

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

2 participants