You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

InstallPython.md 1.4 kB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. # Installing Python environments
  2. 这章,讲解如何安装Python的环境
  3. ## 1. Windows
  4. ### 安装Anaconda
  5. 由于Anaconda集成了大部分的python包,因此能够很方便的开始使用。由于网络下载速度较慢,因此推荐使用镜像来提高下载的速度。
  6. 在这里找到适合自己的安装文件,然后下载
  7. https://mirrors.tuna.tsinghua.edu.cn/anaconda/archive/
  8. 设置软件源 https://mirror.tuna.tsinghua.edu.cn/help/anaconda/
  9. ```
  10. conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/
  11. conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main/
  12. conda config --set show_channel_urls yes
  13. ```
  14. ### 安装Pytorch
  15. ```
  16. conda install pytorch -c pytorch
  17. pip3 install torchvision
  18. ```
  19. ## 2. Linux
  20. ### 安装pip
  21. ```
  22. sudo apt-get install python3-pip
  23. ```
  24. ### 设置PIP源
  25. ```
  26. pip config set global.index-url 'https://mirrors.ustc.edu.cn/pypi/web/simple'
  27. ```
  28. ### 安装常用的包
  29. ```
  30. pip install -r requirements.txt
  31. ```
  32. 或者手动安装
  33. ```
  34. sudo pip install scipy
  35. sudo pip install scikit-learn
  36. sudo pip install numpy
  37. sudo pip install matplotlib
  38. sudo pip install pandas
  39. sudo pip install ipython
  40. sudo pip install jupyter
  41. ```
  42. ### 安装pytorch
  43. 到[pytorch 官网](https://pytorch.org),根据自己的操作系统、CUDA版本,选择合适的安装命令。
  44. 例如Linux, Python3.5, CUDA 9.0:
  45. ```
  46. pip3 install torch torchvision
  47. ```

机器学习越来越多应用到飞行器、机器人等领域,其目的是利用计算机实现类似人类的智能,从而实现装备的智能化与无人化。本课程旨在引导学生掌握机器学习的基本知识、典型方法与技术,通过具体的应用案例激发学生对该学科的兴趣,鼓励学生能够从人工智能的角度来分析、解决飞行器、机器人所面临的问题和挑战。本课程主要内容包括Python编程基础,机器学习模型,无监督学习、监督学习、深度学习基础知识与实现,并学习如何利用机器学习解决实际问题,从而全面提升自我的《综合能力》。

Contributors (1)