运行报错tensorflow/core/framework/op_kernel.cc:1111] OP_REQUIRES failed at transpose_op.cc:199 : Resource exhausted: OOM when allocating tensor with shape[16,256,256,64] and type float on /job:localhost/replica:0/task:0/device:GPU:0 by allocator GPU_0_bfc
GPU显存不足了,更换了GPU就解决了。