当前位置:网站首页>Anaconda 中安装 百度飞浆Paddle 深度学习框架 教程
Anaconda 中安装 百度飞浆Paddle 深度学习框架 教程
2022-07-26 07:23:00 【愿你笑】
1.Anaconda中新建一个环境,放Paddle 框架。
点击进入anaconda navigator,

进入后,点create新建,环境名自定义,勾选python3.7

2.进入新建的环境中,安装Paddle框架,重新安装新的numpy包 和 pandas包

语句1,进入新建的环境中:activate feijiang(环境名称)
语句2,安装Paddle框架:pip install paddlepaddle -i https://pypi.tuna.tsinghua.edu.cn/simple
语句3,卸载自带的numpy包,重新安装新的numpy包 和 pandas包:
pip uninstall numpy
pip install numpy -i https://pypi.tuna.tsinghua.edu.cn/simple
pip install pandas -i https://pypi.tuna.tsinghua.edu.cn/simple
语句4,安装其他你项目所需要的包:
pip install **** -i https://pypi.tuna.tsinghua.edu.cn/simple
3.Jupyter内核配置
①.进入目标环境下载包:pip install ipykernel ipython -i https://pypi.tuna.tsinghua.edu.cn/simple
②.调用包且命名:ipython kernel install --user --name feijiang(feijiang可自定义为其他名)

4.测试是否安装成功
在本环境下,输入python,回车进入python解释器
输入命令: import paddle.fluid
再输入命令: paddle.fluid.install_check.run_check()
如果出现 Your Paddle Fluid is installed succesfully! 说明您已成功安装。

5.注意事项,实际在项目用调用这个新框架时,可能会出现很多奇怪报错情况
①.本人用的pychrm运行jyputer notebook,可能由于某些新安装的包为索引链接,多重启pychrm重新运行项目
②.调错就一个原则,哪个包有问题,卸载重新安装最新的该包;缺哪个包安装哪个包即可。

边栏推荐
- NFT digital collection development: digital art collection enabling public welfare platform
- Why can't extern compile variables decorated with const?
- 又是一年开源之夏,1.2万项目奖金等你来拿!
- Introduction to C language -- summary table of operator priority sorting
- Advanced Mathematics (Seventh Edition) Tongji University General exercises two person solution
- 【C语言】你真的了解printf吗?(printf典型易错,强烈建议收藏)
- PR字幕制作
- keras学习之:获取神经网络中间层的输出结果
- 金融任务实例实时、离线跑批Apache DolphinScheduler在新网银行的三大场景与五大优化
- Uncover the mystery of cloud native data management: operation level
猜你喜欢

6. Backup and recovery of MySQL database

Opencv learn resize and crop

Compose text and icon splicing to realize drawableleft or drawableright

NFT数字藏品系统开发:数字藏品赋予品牌新活力

Comparison and difference between dependence and Association

NFT数字藏品系统开发:激活数字文化遗产

HCIP---BGP综合实验

NLP自然语言处理-机器学习和自然语言处理介绍(三)

Opencv learning basic functions

Data platform scheduling upgrade and transformation | operation practice from Azkaban smooth transition to Apache dolphin scheduler
随机推荐
WCF 入门教程二
Event loop in browser
NFT digital collection system development: activating digital cultural heritage
Download and install the free version of typora
依赖和关联的对比和区别
With Huawei cloud welink, you can connect to the world even in the countryside
Business secret series -- Talking about the evaluation of commercial passwords from the perspective of Party A and Party B (I)
Taishan Office Technology Lecture: page width, height, size and source, and the conversion relationship between inches, centimeters and DPI
How to convert multi row data into multi column data in MySQL
Idea shortcut key
Crawler data analysis
Performance test -- lockust performs seckill business scenario test
NFT数字藏品开发:数字藏品与NFT的六大区别
Introduction to C language -- summary table of operator priority sorting
Apache dolphin scheduler 2.x nanny level source code analysis, China Mobile engineers uncover the whole process of service scheduling and start
It's another summer of open source. 12000 project bonuses are waiting for you!
NFT数字藏品系统开发:数字藏品赋予品牌新活力
【一库】妙啊!这个库组织npm脚本简直爆炸!
Why can't extern compile variables decorated with const?
Become an Apache contributor, so easy!