深度學習軟件包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