当前位置:网站首页>Conda 安装 tensorflow gpu 1.13.1(验证可行)
Conda 安装 tensorflow gpu 1.13.1(验证可行)
2022-07-30 05:43:00 【大头鑫】
Conda 安装 tensorflow gpu 1.13.1
conda 有虚拟环境管理的功能,本次我来介绍在一个 conda 环境中配置tensorflow gpu 版本
conda create -n tft python==3.6 我这里的环境命名为 tft
conda activate tft 切换到 tft 环境中进行操作
conda install cudatoolkit=10.0
conda install tensorflow-gpu=1.13.1
pip install tensorflow-gpu==1.13.1
如果 pip 速度太慢,使用 (总是会出现)
pip install tensorflow-gpu==1.13.1 -i https://pypi.douban.com/simple --trusted-host=pypi.douban.com
如果出现 numpy 版本太高的警告(总是会出现)
pip uninstall numpy
pip install numpy==1.16.4
记得加 -i 进行加速,马上飞起。
测试
import tensorflow as tf
print(tf.test.is_gpu_available())

结果为True 说明已经安装成功。
边栏推荐
- TDengineGUI cannot connect to TDengine
- 第一个WebAssembly程序
- Detailed explanation of ClickHouse query statement
- Defense Ideas for a Type of SMS Vulnerability
- awd --waf deployment
- 使用kotlin扩展插件/依赖项简化代码(在最新版本4.0以后,此插件已被弃用,故请选择性学习,以了解为主。)
- Awd summary
- Flink PostgreSQL CDC configuration and FAQ
- uni-app: The use of uni-icons and how to customize icons
- 【十年网络安全工程师整理】—100渗透测试工具使用方法介绍
猜你喜欢

mysql delete duplicate data in the table, (retain only one row)

Reasons and solutions for Invalid bound statement (not found)

protobuf编码及网络通信应用(一)
![[HCTF 2018]admin](/img/4e/58234ca163c22fc334334eb89a5b00.png)
[HCTF 2018]admin

Online sql editing query tool sql-editor

TDengine cluster construction

MYSQL一站式学习,看完即学完

使用kotlin扩展插件/依赖项简化代码(在最新版本4.0以后,此插件已被弃用,故请选择性学习,以了解为主。)

Using PyQt5 to add an interface to YoloV5 (1)

MySQL 索引的数据结构及类型
随机推荐
GraphQL (1) Basic introduction and application examples
The types of data structures and MySQL index
MySQL - 多表查询与案例详解
Bubble sort, selection sort, insertion sort, quick sort
POI工具类
线程的5种状态
MySQL data types and footprint
A Spark task tuning 】 【 one day suddenly slow down how to solve
c#下Web3合约空投、转账调用代码
Flink PostgreSQL CDC配置和常见问题
sqli-labs shooting range SQL injection learning Less-1
Obtain geographic location and coordinates according to ip address (offline method)
C# WPF下限制TextBox只输入数字、小数点、删除等键
[Ten years of network security engineers finishing] - 100 penetration testing tools introduction
【十年网络安全工程师整理】—100渗透测试工具使用方法介绍
[HCTF 2018]admin
sql中 exists的用法
【SQL】SQL 高频面试题英语版(1)
MySQL - Function and Constraint Commands
protobuf coding and network communication applications (1)