深度学习笔记整理-pycharm环境下开发及运行
2017-12-21 14:41
351 查看
1. 关于软件安装: Anaconda---->>>安装python3.6 package---->>>安装pycharm IDE------->>>配置interpretation
----->>>安装tensorflow backend------>>>安装theano------->>>安装keras、pandas等(根据需求tensorflow和theano二选一)
2. 新建project:配置interpretation------>>>测试代码 运行
3. 遇到的问题:
1) theano提示g++.exe文件无法发现,由于tensorflow需要c编译器,调用CPU和GPU
解决方法:
2)tensorflow会优先使用全部GPU,给系统预留200M
“Your CPU supports instructions that this TensorFlow binary was not compiled”
解决办法:
设置提示信息的等级:在import tensorflow 前加上
----->>>安装tensorflow backend------>>>安装theano------->>>安装keras、pandas等(根据需求tensorflow和theano二选一)
2. 新建project:配置interpretation------>>>测试代码 运行
3. 遇到的问题:
1) theano提示g++.exe文件无法发现,由于tensorflow需要c编译器,调用CPU和GPU
WARNING (theano.configdefaults): g++ not detected ! Theano will be unable to execute optimized C-implementations (for both CPU and GPU) and will default to Python implementations. Performance will be severely degraded. To remove this warning, set Theano flags cxx to an empty string.
解决方法:
conda install mingw libpython
2)tensorflow会优先使用全部GPU,给系统预留200M
“Your CPU supports instructions that this TensorFlow binary was not compiled”
解决办法:
设置提示信息的等级:在import tensorflow 前加上
import os
os.environ['TF_CPP_MIN_LOG_LEVEL'] = '2' #只显示warning和errors
相关文章推荐
- NodeJS学习笔记整理(五)交互式运行环境——REPL
- spring学习笔记整理--02(搭建与测试Spring的开发环境)
- 在Lubuntu上搭建python3.4和OpenCV开发环境并且运行DNQ-Atari深度学习项目
- 【深度学习笔记】Anaconda及开发环境搭建
- Cocos2dx 学习笔记整理----开发环境搭建
- 韩顺平_轻松搞定网页设计(html+css+javascript)_第19讲_js运行原理_js开发工具介绍_js程序(hello)_js基本语法_学习笔记_源代码图解_PPT文档整理
- coolite1.0 学习笔记(一) -- 配置coolite开发环境
- □ Struts2学习笔记(1)Struts2开发环境配置 □
- GTK+图形化应用程序开发学习笔记整理[zt]
- coolite1.0 学习笔记(一) -- 配置coolite开发环境
- STM32学习笔记1——查找学习资料,搭建开发环境!
- 操作系统学习笔记(2) 操作系统的运行环境
- “面向状态软件开发”学习笔记一(整理LeWolf的文章)
- Adroid学习笔记-入门资料以及V2.3系统开发环境搭建
- Silverlight学习笔记一 轻松创建Silverlight 4开发环境
- 汇编语言学习笔记-设置开发环境,编写hello world!
- WPF and Silverlight 学习笔记(一):开发环境及参考资料
- PHP学习笔记(1)----运行环境的建立[原创]
- Android 学习笔记(三)Windows下建立Android开发环境
- gtk学习笔记1(安装c/c++和gtk开发环境)