zoukankan      html  css  js  c++  java
  • 6号笔记本环境配置

    done
    #
    # To activate this environment, use
    #
    #     $ conda activate wind_2021
    #
    # To deactivate an active environment, use
    #
    #     $ conda deactivate
    
    
    (base) F:>
    (base) F:>
    (base) F:>
    (base) F:>
    (base) F:>
    (base) F:>

    C:UsersBIM>
    C:UsersBIM>
    C:UsersBIM>nvidia-smi
    Mon Mar 29 15:29:30 2021
    +-----------------------------------------------------------------------------+
    | NVIDIA-SMI 457.74 Driver Version: 457.74 CUDA Version: 11.1 |
    |-------------------------------+----------------------+----------------------+
    | GPU Name TCC/WDDM | Bus-Id Disp.A | Volatile Uncorr. ECC |
    | Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
    | | | MIG M. |
    |===============================+======================+======================|
    | 0 GeForce RTX 308... WDDM | 00000000:01:00.0 Off | N/A |
    | N/A 47C P0 24W / N/A | 183MiB / 16384MiB | 0% Default |
    | | | N/A |
    +-------------------------------+----------------------+----------------------+

    +-----------------------------------------------------------------------------+
    | Processes: |
    | GPU GI CI PID Type Process name GPU Memory |
    | ID ID Usage |
    |=============================================================================|
    | No running processes found |
    +-----------------------------------------------------------------------------+

    C:UsersBIM>
    C:UsersBIM>
    C:UsersBIM>

    (base) F:>
    (base) F:>
    (base) F:>
    (base) F:>conda activate wind_2021
    
    (wind_2021) F:>
    (wind_2021) F:>
    (wind_2021) F:>
    (wind_2021) F:>
    (wind_2021) F:>
    (wind_2021) F:>pip install torch==1.8.1+cu111 torchvision==0.9.1+cu111 torchaudio===0.8.1 -f https://download.pytorch.org/whl/torch_stable.html
    Looking in links: https://download.pytorch.org/whl/torch_stable.html
    Collecting torch==1.8.1+cu111
      Downloading https://download.pytorch.org/whl/cu111/torch-1.8.1%2Bcu111-cp38-cp38-win_amd64.whl (3055.7 MB)
         |████████████████████████████████| 3055.7 MB 12 kB/s
    Collecting torchvision==0.9.1+cu111
      Downloading https://download.pytorch.org/whl/cu111/torchvision-0.9.1%2Bcu111-cp38-cp38-win_amd64.whl (1.9 MB)
         |████████████████████████████████| 1.9 MB 6.4 MB/s
    Collecting torchaudio===0.8.1
      Downloading https://download.pytorch.org/whl/torchaudio-0.8.1-cp38-none-win_amd64.whl (109 kB)
         |████████████████████████████████| 109 kB 3.2 MB/s
    Collecting numpy
      Downloading numpy-1.20.2-cp38-cp38-win_amd64.whl (13.7 MB)
         |████████████████████████████████| 13.7 MB 1.3 MB/s
    Collecting typing-extensions
      Downloading typing_extensions-3.7.4.3-py3-none-any.whl (22 kB)
    Collecting pillow>=4.1.1
      Downloading Pillow-8.1.2-cp38-cp38-win_amd64.whl (2.2 MB)
         |████████████████████████████████| 2.2 MB 939 kB/s
    Installing collected packages: typing-extensions, numpy, torch, pillow, torchvision, torchaudio
    Successfully installed numpy-1.20.2 pillow-8.1.2 torch-1.8.1+cu111 torchaudio-0.8.1 torchvision-0.9.1+cu111 typing-extensions-3.7.4.3
    
    (wind_2021) F:>
    (wind_2021) F:>
    (wind_2021) F:>
    (wind_2021) F:>
    (wind_2021) F:>
    (wind_2021) F:>
    (wind_2021) F:>
    (wind_2021) F:>
    (wind_2021) F:>
    (wind_2021) F:>
    (wind_2021) F:>
    (wind_2021) F:>
    (wind_2021) F:>
    (wind_2021) F:>python
    Python 3.8.8 (default, Feb 24 2021, 15:54:32) [MSC v.1928 64 bit (AMD64)] :: Anaconda, Inc. on win32
    Type "help", "copyright", "credits" or "license" for more information.
    >>>
    >>>
    >>> import torch
    >>>
    >>> torch.__version__
    '1.8.1+cu111'
    >>>
    >>>
    >>>
    >>> torch.cuda.is_available()
    True
    >>>
    >>>
    >>>
    QQ 3087438119
  • 相关阅读:
    三、Vue CLI-单页面
    width100%,设置padding或border溢出解决方法
    一、Linux平台部署ASP.NET、ASP.NET CORE、PHP
    二、Core授权-2 之.net core 基于Identity 授权
    一、doT.js使用笔记
    一、域名认证信息
    HB-打包
    一、模型验证CoreWebApi 管道方式(非过滤器处理)2(IApplicationBuilder扩展方法的另一种写法)
    python 写的几道题
    美团面试总结
  • 原文地址:https://www.cnblogs.com/herd/p/14592607.html
Copyright © 2011-2022 走看看