Anaconda in the development environment to build deep learning record (under Win10 test)

I was asked to build deep learning environment under Win10, individuals should feel and Win7 almost, but still personally responsible for trying to record it. The following commands are said pro-test available.
My platform is: Python3.6 (Anaconda4.3) + CUDA10.0 + windows10, advance to the official website to download NVIDIA CUDA and cuDNN, configuration see my another blog , not repeat them here

  • Set the source
    June 5, 2019 Anaconda Tsinghua source resumed use, very good! !
    Annaconda use the following command in the command line you can set the source.
    config --add channels Conda https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/
    Conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/ main /
    Conda config --set show_channel_urls yes

  • 虚环境
    conda create -n deeplearning python=3.6
    conda info -e
    activate deeplearning

  • tensorflow
    GPU版本:
    anaconda search -t conda tensorflow-gpu
    anaconda show anaconda/tensorflow-gpu
    conda install --channel https://conda.anaconda.org/anaconda tensorflow-gpu=1.13.1

    CPU版本:
    anaconda search -t conda tensorflow
    anaconda show conda-forge/tensorflow
    conda install --channel https://conda.anaconda.org/conda-forge tensorflow=1.13.1

  • keras
    #anaconda Search -t Conda keras-GPU
    #anaconda Show Anaconda / keras-GPU
    #conda install --channel https://conda.anaconda.org/anaconda keras-GPU = 2.2.4
    # The above command will prompt: The following packages will be sUPERSEDED by a higher- priority channel, so it is best not to confirm the installation
    pip install keras

  • Jupyter supports multiple Kernel
    Conda install nb_conda

  • Other packages installed
    Conda the install matplotlib
    Conda the install PANDAS
    Conda the install scikit-Learn

  • pytorch
    Online Installation:
    on Pytorch official website , choose their own platform, as I:
    Here Insert Picture Description
    GPU version: Conda install pytorch torchvision cudatoolkit = 10.0 -c pytorch
    the CPU version: conda install pytorch-cpu torchvision- cpu -c pytorch
    latest 1.1 .0
    this off-line method to save the local installation time:
    Download: Tsinghua Pytorch
    the GPU-version --use the install local Conda :: pytorch-1.1.0-py3.6_cuda100_cudnn7_1.tar.bz2
    the CPU version installation: conda install - the CPU-local-pytorch the -use-1.1.0-py3.6_cpu_1.tar.bz2
    torchvision: this is mainly integrated some data sets, deep learning model, some of the conversion, the future need to use is still very easy, pip install torchvision

Guess you like

Origin blog.csdn.net/cskywit/article/details/93336304