keras包安装

本文介绍了在安装Keras时可能会遇到的Theano警告及解决方案,以及在使用NLTK库时缺少stopwords语料库的问题,提供了解决这两种问题的方法,包括从指定博客和StackOverflow获取的指导。
摘要由CSDN通过智能技术生成

Keras is a minimalist, highly modular neural networks library, written in Python and capable of running on top of either TensorFlow or Theano. It was developed with a focus on enabling fast experimentation. Being able to go from idea to result with the least possible delay is key to doing good research.

使用pip安装keras包,安装过程会自动下载安装theano。
>>> pip install keras

但是在导入keras运行代码的时候,出现如下警告:

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.

http://www.cnblogs.com/anyview/p/5063189.html这篇博客中找到了解决办法:

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值