• ๐Ÿฅ‡ copyright: this article by [Moneo-ai] original, you big guy, one read, please refer to
  • ๐ŸŽ‰ statement: as one of the bloggers in AI field, โค๏ธ lives up to your time and your โค๏ธ

  • ๐Ÿ“” Basic Information


    ๐ŸŸง View system information

    Cat /etc/issue Ubuntu 16.04.7lts \n \ LCopy the code

    ๐ŸŸจ View the current Cuda version

    nvcc -V
    
    nvcc: NVIDIA (R) Cuda compiler driver
    Copyright (c) 2005-2019 NVIDIA Corporation
    Built on Sun_Jul_28_19:07:16_PDT_2019
    Cuda compilation tools, release 10.1, V10.1.243
    
    Copy the code

    ๐ŸŸฆ View the current Cudnn version

    cat /usr/local/cuda/include/cudnn.h | grep CUDNN_MAJOR -A 2
    
    
    #define CUDNN_MAJOR 7
    #define CUDNN_MINOR 6
    #define CUDNN_PATCHLEVEL 3
    --
    #define CUDNN_VERSION (CUDNN_MAJOR * 1000 + CUDNN_MINOR * 100 + CUDNN_PATCHLEVEL)
    
    #include "driver_types.h"
    
    Copy the code

    ๐Ÿ“• start setting up the PyTorch =0.4.0 environment


    ๐Ÿ”ด Step 1 Conda create environment Torch04

    Conda create -n torch04 python=3.6.6Copy the code

    The following libraries are installed by default

    ๐Ÿ”ต Step 2: Install PyTorch =0.4.0

    The installation command is as follows

    sourceActivate Torch04 Conda Install PyTorch =0.4.0 -c PytorchCopy the code

    The Conda environment for PyTorch =0.4.0 will install CudatoolKit 8.0 required to run Python

    ๐ŸŸฃ Step 3: Install other dependent libraries

    PIP install torchVision ==0.1.6 matplotlib opencv-python TQDM scikit-image scipy==0.19.1Copy the code

    ๐Ÿ“˜ more effective tutorials

    The content of this blog is difficult to generalize, if there are inappropriate places, welcome to the comment area criticism and correction


    For those who are about to enter the line of computer vision, Murray here recommend the collection of dry goods blog is as follows

    • โค๏ธ deep learning model training foundation environment construction related tutorial โ€”โ€”โ€”โ€” carefully help you sort out
    • โค๏ธ Computer vision, superfraction reconstruction, target detection, image repair, master/doctor AI communication

    ๐Ÿš€๐Ÿš€ Mexic AI


  • ๐ŸŽ‰ as one of the bloggers with the most dry goods in the field of AI, โค๏ธ lives up to his time and qing โค๏ธ
  • โค๏ธ If the article is helpful to you, like, comment encourage bloggers every minute to seriously create