当前位置:网站首页>树莓派4B安装tensorflow2.0[通俗易懂]
树莓派4B安装tensorflow2.0[通俗易懂]
2022-07-01 11:11:00 【全栈程序员站长】
大家好,又见面了,我是你们的朋友全栈君。
这个GitHub上可以下载到tensorflow2.x:https://github.com/lhelontra/tensorflow-on-arm/releases 我就拿我下载的举例子吧:我下载的是这个版本的:tensorflow-2.0.0-cp37-none-linux_armv7l.whl 1、把下载的这个tensorflow-2.0.0-cp37-none-linux_armv7l.whl文件放进树莓派里边,cd到你拖进的那一目录下(我是拖到Desktop,所以是:cd Desktop),命令行输入:sudo pip3 install tensorflow-2.0.0-cp37-none-linux_armv7l.whl (注意:一定要cd进到这个目录才行!否则报错) 2、然后就会自动安装,安装过程中还需下载其他模块,会自动在国外源下载,就算你换源了还是会启动外国源下载,就有可能会中断导致下载不了。我是下载这3个模块下载不了:
3、解决方法:我们可以把要下载的那个网址直接复制进你的电脑的浏览器(命令行可以看到网址,直接复制),就可以下载,下载好再拖进树莓派里,然后cd到你拖进的那一目录下(我是拖到Desktop,所以是:cd Desktop),命令行输入:sudo pip3 install 模块名.whl(注意:一定要cd进到这个目录才行!否则报错) 由于我已经装好了,我就拿装pyqt5举例子,如果下载失败,就复制这个网址,到你电脑浏览器去下载,下载好再放进树莓派里面。
4、等待一会儿就成功在树莓派安装tensorflow了!
最后欣赏一下我在树莓派上用对抗生成网络gan生成手写数字的结果:
发布者:全栈程序员栈长,转载请注明出处:https://javaforall.cn/131680.html原文链接:https://javaforall.cn
边栏推荐
- Numpy的矩阵
- 个人商城二开逍遥B2C商城系统源码-可商用版/拼团拼购优惠折扣秒杀源码
- LeetCode. One question of the day: offer II 091 Paint the house (DP problem)
- 2022年6月编程语言排行,第一名居然是它?!
- Neurips 2022 | cell image segmentation competition officially launched!
- Leetcode 181 Employees exceeding the manager's income (June 29, 2022)
- kubernetes之ingress探索实践
- No statements may be issued when any streaming result sets are open and in use on a given connection
- China's cellular Internet of things users have reached 1.59 billion, and are expected to surpass mobile phone users within this year
- 证券账户随便哪里开都能使用吗 开户安全吗
猜你喜欢

Database experiment report (II)

The first anniversary of the data security law, which four major changes are coming?

The list of winners of the digital collection of "century master" was announced

商汤进入解禁期:核心管理层自愿禁售 强化公司长期价值信心

The project bar on the left side of CodeBlocks disappears, workspace automatically saves the project, default workspace, open the last workspace, workspace (Graphic tutorial, solved)

Mingchuang plans to be listed on July 13: the highest issue price is HK $22.1, and the net profit in a single quarter decreases by 19%

Tempest HDMI leak receive 5

Website source code whole site download website template source code download

MIT最新论文《对可解释特征的需求:动机和分类》:在机器学习模型的组成元素中建立可解释性
![[AI information monthly] 350 + resources! All the information and trends that can't be missed in June are here! < Download attached >](/img/62/562e93e66addc8e86c0a19bc514389.png)
[AI information monthly] 350 + resources! All the information and trends that can't be missed in June are here! < Download attached >
随机推荐
Can I choose to open an account on CICC securities? Is it safe?
LeetCode 438. Find all letter ectopic words in the string__ sliding window
In June 2022, it was the first programming language?!
When is testing not unit testing- When is a Test not a Unit-test?
云上“视界” 创新无限 | 2022阿里云直播峰会正式上线
十年磨一剑:蚂蚁集团可观测性平台 AntMonitor 揭秘
MIT's latest paper, "the need for interpretable features: motivation and classification": building interpretability in the constituent elements of machine learning models
Personal mall two open Xiaoyao B2C mall system source code - Commercial Version / group shopping discount seckill source code
Website source code whole site download website template source code download
Leetcode 181 Employees exceeding the manager's income (June 29, 2022)
[AI information monthly] 350 + resources! All the information and trends that can't be missed in June are here! < Download attached >
Yoda unified data application -- Exploration and practice of fusion computing in ant risk scenarios
持续交付-Pipeline入门
提问:测试工程师应该具备哪些职业素养?
Internal control of fund managers
华泰证券网上开户安全吗?
Compliance management of fund managers
CPI教程-异步接口创建及使用
Oneconnect plans to be listed in Hong Kong on July 4: a loss of nearly 3 billion in two years, with a market capitalization evaporation of more than 90%
Whether lending a bank card to others constitutes a crime