W tensorflow/core/framework/op_kernel.cc:1401] OP_REQUIRES failed at pack_op.cc:88 : Resource exhausted: OOM when allocating tensor with shape[32,3,2160,4096] and type float on /job:localhost/replica:0/task:0/device:GPU:0 by allocator GPU_0_bfc

Yes.OOM is resolved because of the resizing of images as you suggested. Please find the updated spec file ‘detectnet_config.txt’ in the question #1