efficientnet
efficientnet copied to clipboard
keras transfer learning - retrain EfficientNetB7 Tesla V100 32G out of memory
2020-05-22 09:51:58.789020: W tensorflow/core/common_runtime/bfc_allocator.cc:271] **************************************************************************************************** 2020-05-22 09:51:58.789068: W tensorflow/core/framework/op_kernel.cc:1401] OP_REQUIRES failed at conv_ops.cc:446 : Resource exhausted: OOM when allocating tensor with shape[32,3840,10,10] and type float on /job:localhost/replica:0/task:0/device:GPU:0 by allocator GPU_0_bfc OOM when allocating tensor with shape[32,3840,10,10] and type float on /job:localhost/replica:0/task:0/device:GPU:0 by allocator GPU_0_bfc [[{{node block7c_expand_conv/convolution}}]] Hint: If you want to see a list of allocated tensors when OOM happens, add report_tensor_allocations_upon_oom to RunOptions for current allocation info.
[[{{node loss/mul}}]]
Hint: If you want to see a list of allocated tensors when OOM happens, add report_tensor_allocations_upon_oom to RunOptions for current allocation info.
Traceback (most recent call last):
File "train.py", line 72, in
[[{{node loss/mul}}]]
Hint: If you want to see a list of allocated tensors when OOM happens, add report_tensor_allocations_upon_oom to RunOptions for current allocation info.
keras:2.2.4 tensorflow-gpu :1.13.1 efficientnet: 1.1.0 batch_size: 1 image_size: 512x512
I met the same problem, have you solved it?