2-installation.py 817 B

12345678910111213141516171819202122232425262728
  1. """
  2. To know more or get code samples, please visit my website:
  3. https://mofanpy.com/tutorials/
  4. Or search: 莫烦Python
  5. Thank you for supporting!
  6. """
  7. # please note, all tutorial code are running under python3.5.
  8. # If you use the version like python2.7, please modify the code accordingly
  9. # 2 - Installation
  10. """
  11. ---------------------------
  12. 1. Make sure you have installed the following dependencies for Keras:
  13. - Numpy
  14. - Scipy
  15. for install numpy and scipy, please refer to my video tutorial:
  16. https://www.youtube.com/watch?v=JauGYB-Bzuw&list=PLXO45tsB95cKKyC45gatc8wEc3Ue7BlI4&index=2
  17. ---------------------------
  18. 2. run 'pip install keras' in command line for python 2+
  19. Or 'pip3 install keras' for python 3+
  20. If encounter the error related to permission, then use 'sudo pip install ***'
  21. ---------------------------
  22. """