运行以下类似代码: while True: inputs, outputs = get_AlexNet() model = tf.keras.Model(inputs=inputs, outputs=outputs) model.summary() adam_opt = tf.keras.optimizers.Adam(learning_rate) # The compile step specifies the training configuration. model.compile(opt…
ResourceExhaustedError (see above for traceback): OOM when allocating tensor with shape[4096] 类似问题 https://github.com/CharlesShang/TFFRCNN/issues/68 参考: http://blog.csdn.net/qing101hua/article/details/77153222 方案: take a look at the memory usage of y…
报错信息: OP_REQUIRES failed at assign_op.h:111 : Resource exhausted: OOM when allocating tensor with shape[3,3,384,384] and type float on /job:localhost/replica:0/task:0/device:GPU:0 by allocator GPU_0_bfc 大概意思是资源耗尽,无法在分配tensor了. 因为我之前有跑其他程序,然后使用ctrl+z中…