北烛 2021-06-29 18:55 采纳率: 0%
浏览 965

深度学习tensorflow运行报错问题

2021-06-29 18:40:56.887930: I tensorflow/compiler/jit/xla_cpu_device.cc:41] Not creating XLA devices, tf_xla_enable_xla_devices not set
2021-06-29 18:40:56.912075: I tensorflow/core/platform/cpu_feature_guard.cc:142] This TensorFlow binary is optimized with oneAPI Deep Neural Network Library (oneDNN) to use the following CPU instructions in performance-critical operations:  AVX2
To enable them in other operations, rebuild TensorFlow with the appropriate compiler flags.
2021-06-29 18:40:56.980304: I tensorflow/compiler/mlir/mlir_graph_optimization_pass.cc:196] None of the MLIR optimization passes are enabled (registered 0 passes)
2021-06-29 18:40:58.935123: W tensorflow/core/framework/cpu_allocator_impl.cc:80] Allocation of 78643200 exceeds 10% of free system memory.
2021-06-29 18:41:01.752603: W tensorflow/core/framework/cpu_allocator_impl.cc:80] Allocation of 78643200 exceeds 10% of free system memory.

  • 写回答

2条回答 默认 最新

  • 清风徐来lyh 2023-01-13 11:24
    关注

    这是由于内存不足,不足以保存模型导致的。可以根据自己的情况对下面的进行修改:
    1.把batchsize改小一些
    2.把placeholder位置放在卷积之前,
    3.把测试集改为批次放入预测

    评论

报告相同问题?

悬赏问题

  • ¥15 使用ESP8266连接阿里云出现问题
  • ¥15 被蓝屏搞吐了,有偿求帮解答,Ai回复直接拉黑
  • ¥15 BP神经网络控制倒立摆
  • ¥20 要这个数学建模编程的代码 并且能完整允许出来结果 完整的过程和数据的结果
  • ¥15 html5+css和javascript有人可以帮吗?图片要怎么插入代码里面啊
  • ¥30 Unity接入微信SDK 无法开启摄像头
  • ¥20 有偿 写代码 要用特定的软件anaconda 里的jvpyter 用python3写
  • ¥20 cad图纸,chx-3六轴码垛机器人
  • ¥15 移动摄像头专网需要解vlan
  • ¥20 access多表提取相同字段数据并合并