安装不同版本的tensorflow与models方法实现
2021-02-20 13:27:49
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
还可以直接在网站上下载不同版本的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方法实现的文章就介绍到这了,更多相关安装不同版本的tensorflow与models内容请搜索IT技术网以前的文章或继续浏览下面的相关文章希望大家以后多多支持IT技术网!
您可能感兴趣的文章:
- Window10上Tensorflow的安装(CPU和GPU版本)
- 安装多个版本的TensorFlow的方法步骤
- 查看已安装tensorflow版本的方法示例
- TensorFlow2.1.0最新版本安装详细教程
- 手把手教你安装Windows版本的Tensorflow
- win10系统Anaconda和Pycharm的Tensorflow2.0之CPU和GPU版本安装教程
相关阅读
- 安装无线网卡应注意什么
- 安装redhat 8.0红帽系统的图文教程(小白必备)
- 详解Pycharm第三方库的安装及使用方法
- Pytorch1.5.1版本安装的方法步骤
- Jupyter Notebook 安装配置与使用详解
- windows系统Tensorflow2.x简单安装记录(图文)
- 全网最详细的PyCharm+Anaconda的安装过程图解
- python3.9和pycharm的安装教程并创建简单项目的步骤
- IntelliJ IDEA 下载安装超详细教程(推荐)
- 安装不同版本的tensorflow与models方法实现
- 安装win10系统提示登录你的microsoft账户怎么办 跳过登录微软账户方法
- mysql-canal-rabbitmq 安装部署超详细教程
- R语言及其IDE(RStudio)下载安装详细流程
- R语言及RStudio下载与安装方法
- 安装python-docx后,无法在pycharm中导入的解决方案
- Android在一个app中安装并卸载另一个app的示例代码
- mysql8.0.23 msi安装超详细教程
- 显卡如何安装到主板上 独显接线与显卡安装图解教程