热门

最新

红包

立Flag

投票

同城

我的

发布
weixin_51002557
Dana兔
4 年前
trueweixin_51002557

世界500强德国企业 招IT实习生 想要跟着大咖学习 实践全栈开发的 联系我一下

苏州市吴中区
CSDN App 扫码分享
分享
评论
2
打赏
  • 复制链接
  • 举报
下一条:
错误:ResourceExhaustedError: Graph execution error: OOM when allocating tensor with shape[32,14,14,512] and type float on /job:localhost/replica:0/task:0/device:GPU:0 by allocator GPU_0_bfc [[{{node model/multiply_20/mul-0-0-TransposeNCHWToNHWC-LayoutOptimizer}}]] 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. This isn't available when running in Eager mode. [Op:__inference_train_function_20637]解决: 调小 batch_size 去掉了几个attention module我也不清楚对结果的影响有多少
立即登录