tensorflow cpu问题
2024-10-06 08:52:54
返回:
-- ::04.952328: I tensorflow/core/platform/cpu_feature_guard.cc:] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2 FMA
-- ::05.050837: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:] successful NUMA node read from SysFS had negative value (-), but there must be at least one NUMA node, so returning NUMA node zero
-- ::05.051192: I tensorflow/core/common_runtime/gpu/gpu_device.cc:] Found device with properties:
name: GeForce GTX Ti major: minor: memoryClockRate(GHz): 1.683
pciBusID: ::00.0
totalMemory: .91GiB freeMemory: .60GiB
-- ::05.051205: I tensorflow/core/common_runtime/gpu/gpu_device.cc:] Adding visible gpu devices:
-- ::05.225183: I tensorflow/core/common_runtime/gpu/gpu_device.cc:] Device interconnect StreamExecutor with strength edge matrix:
-- ::05.225212: I tensorflow/core/common_runtime/gpu/gpu_device.cc:]
-- ::05.225218: I tensorflow/core/common_runtime/gpu/gpu_device.cc:] : N
-- ::05.225364: I tensorflow/core/common_runtime/gpu/gpu_device.cc:] Created TensorFlow device (/job:localhost/replica:/task:/device:GPU: with MB memory) -> physical GPU (device: , name: GeForce GTX Ti, pci bus id: ::00.0, compute capability: 6.1)
解决:
在代码中添加:
import os
os.environ['TF_CPP_MIN_LOG_LEVEL'] = ''
最新文章
- Python-7 列表list
- Java基础の乱弹琴二:break关键字
- ,2,liunx命令格式
- @Html.TextBox 的使用
- USB HID usage table
- Objective-C学习篇06—NSString与NSMutableString
- poj 1940 Wine Trading in Gergovia_贪心
- https单向认证和双向认证区别
- 2018-2019-2 网络对抗技术 20165319 Exp3 免杀原理与实践
- STM32时钟
- mysql 去除重复 Select中DISTINCT关键字的用法 在使用mysql时,有时需要查询出某个字段不重复的记录,虽然mysql提供 有distinct这个关键字来过滤掉多余的重复记录只保留一条,但往往只用它来返回不重复记录的条数,而不是用它来返回不重记录的所有值。其原因是 distinct只能返回它的目标字段,而无法返回其它字段,这个问题让我困扰了很久,用distinct不能解决的话,
- Python开发——文件操作
- 敌兵布阵 HDU - 1166 (树状数组模板题,线段树模板题)
- Map 接口
- Neo4j资料 Neo4j教程 Neo4j视频教程 Neo4j 图数据库视频教程
- telegraf input的配置
- Redis used_cpu_sys used_cpu_user meaning (redis info中cpu信息的含义)
- my sql 下左连接 右链接、内连接等应用,INNER JOIN LEFT JOIN RIGHT JOIN
- Java Http接口加签、验签操作方法
- init_config_file.lua