官术网_书友最值得收藏!

  • Python Deep Learning Cookbook
  • Indra den Bakker
  • 167字
  • 2021-07-02 15:43:11

How to do it...

  1. You can directly download the installation file for Anaconda on your machine as follows (adjust your Anaconda file accordingly):
curl -O https://repo.continuum.io/archive/Anaconda3-4.3.1-Linux-x86_64.sh
  1. Next, run the bash script (if necessary, adjust the filename accordingly):
bash Anaconda3-4.3.1-Linux-x86_64.sh

Follow all prompts and choose 'yes' when you're asked to to add the PATH to the .bashrc file (the default is 'no').

  1. Afterwards, reload the file:
source ~/.bashrc
  1. Now, let's set up an Anaconda environment. Let's start with copying the files from the GitHub repository and opening the directory:
git clone https://github.com/indradenbakker/Python-Deep-Learning-Cookbook-Kit.git
cd Python-Deep-Learning-Cookbook-Kit
  1. Create the environment with the following command:
conda env create -f environment-deep-learning-cookbook.yml
  1. This creates an environment named environment-deep-learning-cookbook and installs all libraries and dependencies included in the .yml file. All libraries used in this book are included, for example, NumPy, OpenCV, Jupyter, and scikit-learn. 
  2. Activate the environment:
source activate environment-deep-learning-cookbook
  1. You're now ready to run Python. Follow the next recipe to install Jupyter and the deep learning frameworks used in this book.
主站蜘蛛池模板: 尚志市| 山东省| 苏尼特左旗| 辽源市| 凉城县| 大荔县| 龙里县| 洛阳市| 佳木斯市| 河津市| 吉木乃县| 新竹县| 横峰县| 宝坻区| 察隅县| 合肥市| 延边| 砀山县| 民乐县| 从化市| 乐亭县| 宁津县| 嘉义县| 大同市| 新余市| 海南省| 泾源县| 抚宁县| 玉环县| 章丘市| 太谷县| 寻乌县| 阳谷县| 江源县| 呼和浩特市| 新化县| 泸定县| 天柱县| 惠东县| 云南省| 汉寿县|