最新国产好看的视频,伊人天堂AV在线,国产Aaaaaa视频,蜜臀视频在线观看一区,人妻av色图,密臀久久久精品影片,青青视频免费观看毛片,久草在线观看视,国产三级精品色情在线

安裝不同版本的tensorflow與models方法實現(xiàn)

 更新時間:2021年02月20日 10:39:24   作者:Airs_Gao  
這篇文章主要介紹了安裝不同版本的tensorflow與models方法實現(xiàn),文中通過示例代碼介紹的非常詳細,對大家的學習或者工作具有一定的參考學習價值,需要的朋友們下面隨著小編來一起學習學習吧

1. 安裝tensorflow教程

使用pip可以快速便捷的安裝tensorflow各個版本。
代碼如下:

pip install tensorflow-gpu==1.14.0 #the 1.14.0 can change to other versions

2. Tensorflow與cuda版本對照

在安裝tensorflow時需要注意,不同版本的cuda安裝tensorflow的版本是有限制的,其對照關系如下:

在這里插入圖片描述

3. 安裝tensorflow/models教程

當需要使用tensorflow objection detection API時,需要下載models。不同版本的tensorflow對應不同版本的models。

先下載models

git clone https://github.com/tensorflow/models

下載的models默認是最新版本的models,如果tensorflow不是最新版本,可能存在不兼容的問題,因此需要對版本進行修改。

cd models
git checkout r1.13.0 #change the models version to version1.13.0

還可以直接在網(wǎng)站上下載不同版本的models,下載地址為:https://github.com/tensorflow/models/releases

4. Tensorflow與models版本的對應

Tensorflow版本 models版本 models地址
1.14.0 1.13.0 https://github.com/tensorflow/models/tree/r1.13.0
1.13.1 1.13.0 https://github.com/tensorflow/models/tree/r1.13.0
1.12.0 1.12.0 https://github.com/tensorflow/models/tree/r1.12.0
1.11.0 1.11 https://github.com/tensorflow/models/tree/r1.11
1.10.0 1.10.0 https://github.com/tensorflow/models/tree/r1.10.0
1.9.0 1.9.0 https://github.com/tensorflow/models/tree/r1.9.0
1.8.0 1.8.0 https://github.com/tensorflow/models/tree/r1.8.0
1.7.0 1.7.0 https://github.com/tensorflow/models/tree/r1.7.0
1.6.0 1.6.0 https://github.com/tensorflow/models/tree/r1.6.0
1.5.0 1.4.0 https://github.com/tensorflow/models/tree/r1.4.0
1.4.0 1.4.0 https://github.com/tensorflow/models/tree/r1.4.0

到此這篇關于安裝不同版本的tensorflow與models方法實現(xiàn)的文章就介紹到這了,更多相關安裝不同版本的tensorflow與models內(nèi)容請搜索腳本之家以前的文章或繼續(xù)瀏覽下面的相關文章希望大家以后多多支持腳本之家!

相關文章

最新評論

嘉义市| 临清市| 容城县| 历史| 洞口县| 长乐市| 彩票| 伊春市| 西安市| 陵川县| 华安县| 社旗县| 罗平县| 江川县| 临沧市| 岚皋县| 洪雅县| 三明市| 塘沽区| 八宿县| 麻江县| 林口县| 都兰县| 涟水县| 宁陕县| 张家港市| 彰化市| 确山县| 郓城县| 泊头市| 太康县| 开远市| 天镇县| 大新县| 金湖县| 清丰县| 习水县| 泾源县| 霍林郭勒市| 承德市| 阳谷县|