当前位置:网站首页>Tsinghua University image source will cause tensorflow GPU installation failure
Tsinghua University image source will cause tensorflow GPU installation failure
2022-06-12 23:42:00 【An autumn moon】
The author has previously installed pytorch Add Tsinghua University channel to , Later installed tensorflow-gpu Always installed is tensorflow Of cpu edition
1. View the installation image
conda config --get channels2. Delete the default image
conda config --remove-key channels3. Then reinstall tensorflow-gpu
conda install tensorflow-gpu=1.103. see gpu Is the call successful
import os
os.environ["CUDA_VISIBLE_DEVICES"] = "0"
from tensorflow.python.client import device_lib
print(device_lib.list_local_devices())
[name: "/device:CPU:0"
device_type: "CPU"
memory_limit: 268435456
locality {
}
incarnation: 9864097557774494597
, name: "/device:GPU:0"
device_type: "GPU"
memory_limit: 10738902631
locality {
bus_id: 1
links {
}
}
incarnation: 3161576480591350016
physical_device_desc: "device: 0, name: GeForce RTX 2080 Ti, pci bus id: 0000:18:00.0, compute capability: 7.5"
]The terminal displays the above interface , be gpu Version installed successfully
边栏推荐
- It is meaningful to define genus, and D can use it to explain semantics
- Introduction to message oriented middleware (message queue)
- MYSQL 行转列、列转行、多列转一行、一行转多列
- Pytorch common parameter initialization methods: [uniform distribution, normal (Gaussian) distribution, Xavier, Kaiming, orthogonal matrix, sparse matrix, constant, identity matrix, zero filling]
- 2022年G3锅炉水处理考题模拟考试平台操作
- Access static variables within class in swift
- Redis实现短信验证码登录
- Software development tools [3] theoretical basis of software development tools
- SAP 业务技术平台(BTP) Workflow(工作流)功能介绍
- [SciPy optimization tutorial] v. quick solution of univariate function optimization
猜你喜欢

ShardingSphere-proxy-5.0.0部署之分表实现(一)

模型过拟合-解决方案(二):Dropout
C language: how to give an alias to a global variable?

CST learning: four element array design of circular patch antenna (III) array formation and parallel excitation
![CS for mobile security [nethunter]](/img/25/ad99256a1eebb09f639e95d00756a5.jpg)
CS for mobile security [nethunter]

移动安全必备之CS呢【NETHUNTER】

应用最广泛的动态路由协议:OSPF

The programmer has worked for 7 years. At the age of 31, he has no choice but to deliver takeout. I really don't want you to go through his journey again

Design a MySQL table for message queue to store message data

Opencv source code compilation
随机推荐
Operation of simulation test platform for G3 boiler water treatment test questions in 2022
Colab教程(超级详细版)及Colab Pro/Colab Pro+使用评测
Theory + practice will help you master the dynamic programming method
2202-简历制作
C语言:如何给全局变量起一个别名?
DETR(Detection with Transformers) 学习笔记
SAP 业务技术平台(BTP) Workflow(工作流)功能介绍
同花顺开证券账户怎么样?到底安不安全呢
The programmer has worked for 7 years. At the age of 31, he has no choice but to deliver takeout. I really don't want you to go through his journey again
Comprehensive analysis of C array
[opencv learning] small ticket recognition based on perspective transformation and OCR recognition
华为云会议初体验【华为云至简致远】
2022 questions d'examen pour le personnel de gestion de la sécurité de l'unit é de gestion des produits chimiques dangereux et examen de simulation en ligne
lua 条件语句
Unprecedented analysis of Milvus source code architecture
数组
Save state when viewpager is used with fragment fragmentpageradapter
LeetCode 146. LRU cache
Summary of MySQL foundation view
2202 - production de CV