日韩无码专区无码一级三级片|91人人爱网站中日韩无码电影|厨房大战丰满熟妇|AV高清无码在线免费观看|另类AV日韩少妇熟女|中文日本大黄一级黄色片|色情在线视频免费|亚洲成人特黄a片|黄片wwwav色图欧美|欧亚乱色一区二区三区

RELATEED CONSULTING
相關(guān)咨詢(xún)
選擇下列產(chǎn)品馬上在線(xiàn)溝通
服務(wù)時(shí)間:8:30-17:00
你可能遇到了下面的問(wèn)題
關(guān)閉右側(cè)工具欄

新聞中心

這里有您想知道的互聯(lián)網(wǎng)營(yíng)銷(xiāo)解決方案
Ubuntu18.04安裝Tensorflow(CPU)

最近我開(kāi)始學(xué)習(xí)深度學(xué)習(xí)框架Tensorflow,一開(kāi)始在Windows平臺(tái)下的anaconda下安裝,由于anaconda安裝幾次后navigator打開(kāi)老是出現(xiàn)閃退的問(wèn)題,所以決定換個(gè)ubuntu下繼續(xù)折騰tensorflow。本人筆記本沒(méi)有NVIDIA顯卡,只裝的CPU版本的。而且是在虛擬機(jī)下的,下面開(kāi)始吧。

讓客戶(hù)滿(mǎn)意是我們工作的目標(biāo),不斷超越客戶(hù)的期望值來(lái)自于我們對(duì)這個(gè)行業(yè)的熱愛(ài)。我們立志把好的技術(shù)通過(guò)有效、簡(jiǎn)單的方式提供給客戶(hù),將通過(guò)不懈努力成為客戶(hù)在信息化領(lǐng)域值得信任、有價(jià)值的長(zhǎng)期合作伙伴,公司提供的服務(wù)項(xiàng)目有:空間域名、虛擬主機(jī)、營(yíng)銷(xiāo)軟件、網(wǎng)站建設(shè)、納雍網(wǎng)站維護(hù)、網(wǎng)站推廣。

先安裝好Ubuntu 18.04版本的系統(tǒng)(最好是Ubuntu的14.04版本以上),Ubuntu系統(tǒng)已經(jīng)有了了python 3.7.7.7,所以不需要再安裝Python了。

一、首先更新源為阿里云軟件源,增加下載速度

(1)備份當(dāng)前也就是默認(rèn)官方的源列表

sudo cp /etc/apt/sources.list /etc/apt/sources.list.backup

(2)刪除sources.list文件中的列表,刪除全部?jī)?nèi)容

sudo gedit /etc/apt/sources.list1

(3)替換內(nèi)容后,保存

deb http://mirrors.aliyun.com/ubuntu/ bionic main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ bionic main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ bionic-security main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ bionic-security main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ bionic-updates main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ bionic-updates main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ bionic-backports main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ bionic-backports main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ bionic-proposed main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ bionic-proposed main restricted universe multiverse

4)更新源列表

sudo apt-get update

二、安裝Tensorflow(Python3.6.7/CPU)

(1)安裝Python3的包管理pip

sudo apt-get install python3-pip python3-dev

(2)安裝tensorflow

(自動(dòng)安裝相關(guān)庫(kù)numpy、tensorboard、six、protobuf、html5lib、bleach、werkzeug、markdown)

(3)測(cè)試tensorflow


當(dāng)前標(biāo)題:Ubuntu18.04安裝Tensorflow(CPU)
標(biāo)題來(lái)源:http://www.5511xx.com/article/cddjcpj.html