深度学习软件包scikit-neuralnetwork 的安装


深度学习常用软件包:

  • Theano  偏底层,实现了GPU矩阵运算
  • Pylearn2  模块化
  • scikit-neuralnetwork

 

scikit-neuralnetwork

scikit-neuralnetwork是对pylearn2的神经网络封装,兼容scikit-learn。

GitHub中软件包以及安装步骤

https://github.com/aigamedev/scikit-neuralnetwork

通过CMD输入

pip install scikit-neuralnetwork

自动安装依赖

https://pypi.python.org/pypi/scikit-neuralnetwork

 

在python中

import theano 

出现:

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.

Reason:Try installing the g++ compiler.Python is rather slow, so for performance-critical parts you need a compiled language such as C++.

solution:需要安装g++编译器

直接CMD中输入

conda install mingw libpython

出现

an http error occured when trying to retrieve....

初步认为是网络问题,可以换个网络或者换个时间段再执行上述命令。

 


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM