博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
tensorflow cpu问题
阅读量:7230 次
发布时间:2019-06-29

本文共 1494 字,大约阅读时间需要 4 分钟。

返回:

2019-05-23 14:33:04.952328: I tensorflow/core/platform/cpu_feature_guard.cc:140] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2 FMA2019-05-23 14:33:05.050837: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:898] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero2019-05-23 14:33:05.051192: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1356] Found device 0 with properties:name: GeForce GTX 1080 Ti major: 6 minor: 1 memoryClockRate(GHz): 1.683pciBusID: 0000:01:00.0totalMemory: 10.91GiB freeMemory: 10.60GiB2019-05-23 14:33:05.051205: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1435] Adding visible gpu devices: 02019-05-23 14:33:05.225183: I tensorflow/core/common_runtime/gpu/gpu_device.cc:923] Device interconnect StreamExecutor with strength 1 edge matrix:2019-05-23 14:33:05.225212: I tensorflow/core/common_runtime/gpu/gpu_device.cc:929]      02019-05-23 14:33:05.225218: I tensorflow/core/common_runtime/gpu/gpu_device.cc:942] 0:   N2019-05-23 14:33:05.225364: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1053] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 10263 MB memory) -> physical GPU (device: 0, name: GeForce GTX 1080 Ti, pci bus id: 0000:01:00.0, compute capability: 6.1)

 

解决:

在代码中添加:

import os os.environ['TF_CPP_MIN_LOG_LEVEL'] = '2'

 

转载于:https://www.cnblogs.com/wanghui-garcia/p/10912457.html

你可能感兴趣的文章
BZOJ5168:[HAOI2014]贴海报(线段树)
查看>>
<%@Page%>中的Codebehind AytoEventWireup.inherits有何作用?
查看>>
64. Minimum Path Sum
查看>>
SQL Server 导入bak备份出错
查看>>
JavaScript中的私有/静态属性
查看>>
Ubuntu下安装XAMPP
查看>>
C# ExpandoObject用法
查看>>
【SICP练习】135 练习3.66
查看>>
数据挖掘——文本挖掘-关键字提取
查看>>
Codeforces Gym - 101102A - Coins
查看>>
webstorm识别 ftl文件
查看>>
在Window 下安装Redis数据库
查看>>
主席树 | | 可持久化线段树
查看>>
JSTL中c:set标签的要点和技巧
查看>>
arp命令
查看>>
微信公众号的localStorage的大坑
查看>>
lua算法(连载)
查看>>
IE6、7下overflow:hidden失效的问题
查看>>
php的静态化
查看>>
asp.net 中使用 pagedlist 分页并具有查询功能的实现方法
查看>>