国产探花免费观看_亚洲丰满少妇自慰呻吟_97日韩有码在线_资源在线日韩欧美_一区二区精品毛片,辰东完美世界有声小说,欢乐颂第一季,yy玄幻小说排行榜完本

首頁 > 學(xué)院 > 開發(fā)設(shè)計 > 正文

ubuntu14.04系統(tǒng)中安裝tensorflow(cpu版)

2019-11-06 06:15:06
字體:
供稿:網(wǎng)友

第一步:安裝pip工具

sudo apt-get install python-pip

第二步:安裝tensorflow-cpu版

sudo pip install https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-0.9.0-cp27-none-linux_x86_64.whl

或:sudo pip install https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-0.5.0-cp27-none-linux_x86_64.whl

第三步:打開sublime-text3 使用SFTP連接Ubuntu系統(tǒng)出現(xiàn)如下錯誤

The SSH host key has changed. This could indicate a potential security breach, or that the domain you are connecting to recently moved servers.If you are confident this is not a security breach you can delete the old host key and try again. 1. Win XP: Start > Run > regedit.exe    Win Vista/7: Start > regedit 2. Expand to HKEY_CURRENT_USER/Software/SimonTatham/PuTTY/SshHostKeys and delete the entry including @22:10.0.83.202

打開windows7下按步驟打開并刪除相應(yīng)記錄

第四步:linux上測試tensor測試文件

test.py

import numpyimport tensorflow as tfhello = tf.constant("hello,tensorflow")sess = tf.session()PRint sess.run(hello)a = tf.constant(10)b = tf.constant(20)print sess.run(a+b)

linux安裝anaconda2 下載地址:https://repo.continuum.io/archive/index.html  安裝到/root/anaconda2中

或者指令:sudo apt-get install python-dev 軟件后在安裝numpy   指令:sudo apt-get install python-numpy


發(fā)表評論 共有條評論
用戶名: 密碼:
驗證碼: 匿名發(fā)表
主站蜘蛛池模板: 浪卡子县| 洛宁县| 新疆| 于田县| 吴江市| 利川市| 云南省| 柞水县| 灵台县| 柞水县| 治多县| 巫山县| 黑山县| 根河市| 陆川县| 平遥县| 灵宝市| 新绛县| 朝阳县| 乃东县| 任丘市| 蛟河市| 宿松县| 巨野县| 武汉市| 海安县| 精河县| 宁强县| 革吉县| 宁德市| 华安县| 留坝县| 新安县| 舒兰市| 华容县| 兴业县| 莱州市| 汤阴县| 高唐县| 原阳县| 怀远县|