当前位置:网站首页>Tensorflow-GPU 1.15安装
Tensorflow-GPU 1.15安装
2022-07-26 18:04:00 【Alex抱着爆米花】
TensorFlow-GPU安装命令
conda create -n YourName python=3.6
conda activate YourName
pip install tensorflow-gpu==1.15.0 -i https://pypi.douban.com/simple/
conda install cudatoolkit=10.0
conda install -c anaconda cudnn
测试
import tensorflow as tf
print('GPU',tf.test.is_gpu_available())
print(tf.__version__)
a = tf.constant(2.)
b = tf.constant(4.)
hello = tf.constant('Hello, TensorFlow!')
sess = tf.Session()
print(sess.run(hello))
print(a * b)
边栏推荐
- LeetCode简单题之装满杯子需要的最短总时长
- (ICLR-2022)TADA!用于视频理解的时间自适应卷积
- This section is used to supplement 3
- 2022 Shanghai safety officer C certificate operation certificate examination question bank simulated examination platform operation
- [yuntu said] issue 246 digital asset chain - your God of digital asset property protection!
- Summary of some problems encountered in developing WinForm (continuous updating)
- The pit of mpc5744p reports an error, RTOS cannot be started, and there is a clock source problem
- JS question brushing plan - array
- 2022年焊工(初级)操作证考试题库及模拟考试
- 2022 chemical automation control instrument test question simulation test platform operation
猜你喜欢

Seata 入门简介

2022年制冷与空调设备运行操作考试模拟100题及模拟考试

FTP protocol

基础模块及算例#pytorch学习

Simulated 100 questions and simulated examination of refrigeration and air conditioning equipment operation examination in 2022

How many pairs can an array of leetcode simple questions form

JS question brushing plan - linked list

MySQL日志介绍

Support proxy direct connection to Oracle database, jumpserver fortress v2.24.0 release

NFT digital collection system development: sold out when online, and netizens "spike" Digital Collections
随机推荐
Paged query design of scenarios
项目中@RequestMapping的作用以及如何使用
Tensor RT's int8 quantization principle
Agenda express | list of sub forum agenda on July 27
MySQL learning notes -2. how to improve the query performance of SQL statements
2022 cloud store joint marketing development fund (MDF) Introduction
2022G1工业锅炉司炉上岗证题库及模拟考试
当前占位,之后再写
模型定义#pytorch学习
2022年化工自动化控制仪表考题模拟考试平台操作
SMMU carding
What aspects should be considered in the selection of MES system?
Introduction to Seata
JS question brushing plan - array
The class jointly built by famous oarsmen is new, and Professor qiuxipeng of Fudan University broadcast it live on Tuesday!
[postgraduate entrance examination vocabulary training camp] day 14 - Panini, predict, access, apologize, sense, transport, aggregation
Sentinel isolation and degradation
Learn UML system modeling from me
How far can Volvo, which has lost its "safety brand" due to declining sales and marginalization of its brand?
.net CLR GC dynamic loading transient heap threshold calculation and threshold excess calculation