AutoPortraitMatting icon indicating copy to clipboard operation
AutoPortraitMatting copied to clipboard

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

Open wasedawesley opened this issue 7 years ago • 1 comments

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的量反而越大

wasedawesley avatar Nov 24 '17 12:11 wasedawesley

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

qqsh0214 avatar Dec 08 '17 12:12 qqsh0214