木叶下

  • 编程算法
  • 深度学习
  • 微小工作
  • 善用软件
  • 杂记
  • 诗人远方
南国羽说
文字记录生活
  1. 首页
  2. 编程算法
  3. 正文

windows10+keras+theano+python2.7+MSYS2

2016年12月6日 11474点热度 30人点赞 0条评论

0.安装Python2.7并添加环境变量。

1.安装keras

虽然截至我写这篇文章时TensorFlow已经支持windows下GPU加速,但是keras还未及时更新支持。所以,这里还是以theano为backend。

pip install keras
pip install theano

2.安装MSYS2

到http://sourceforge.net/projects/msys2/ 下载安装

3.安装MinGW

打开MSYS2

pacman -S --needed filesystem msys2-runtime bash libreadline libiconv libarchive libgpgme libcurl pacman ncurses libintl
pacman -Su
pacman -S mingw-w64-i686-gcc

snipaste20161206_201348

输入Y,确认安装。

4.添加mingw环境变量

在你的MYSYS2的目录下

例如:msys64/mingw32

将其添加至环境变量PATH

 

 

 

标签: keras MSYS2 python2.7 theano
最后更新:2017年4月16日

Dong Wang

I am a PhD student of TU Graz in Austria. My research interests include Embedded/Edge AI, efficient machine learning, model sparsity, deep learning, computer vision, and IoT. I would like to understand the foundational problems in deep learning.

点赞
< 上一篇
下一篇 >

文章评论

razz evil exclaim smile redface biggrin eek confused idea lol mad twisted rolleyes wink cool arrow neutral cry mrgreen drooling persevering
取消回复

这个站点使用 Akismet 来减少垃圾评论。了解你的评论数据如何被处理。

COPYRIGHT © 2013-2024 nanguoyu.com. ALL RIGHTS RESERVED.

Theme Kratos Made By Seaton Jiang

陕ICP备14007751号-1