Code Monkey home page Code Monkey logo

Comments (4)

staneee avatar staneee commented on August 15, 2024

按照此教程进行安装:https://blog.csdn.net/weixin_44791964/article/details/106037141

创建虚拟环境

D:\>conda create -n pytorch python=3.6
Collecting package metadata (current_repodata.json): done
Solving environment: done

## Package Plan ##

  environment location: D:\Users\yihan\miniconda3\envs\pytorch

  added / updated specs:
    - python=3.6


The following packages will be downloaded:

    package                    |            build
    ---------------------------|-----------------
    python-3.6.2               |                0        31.5 MB  https://mirrors.ustc.edu.cn/anaconda/pkgs/free
    ------------------------------------------------------------
                                           Total:        31.5 MB

The following NEW packages will be INSTALLED:

  certifi            anaconda/pkgs/free/win-64::certifi-2016.2.28-py36_0
  pip                anaconda/pkgs/free/win-64::pip-9.0.1-py36_1
  python             anaconda/pkgs/free/win-64::python-3.6.2-0
  setuptools         anaconda/pkgs/free/win-64::setuptools-36.4.0-py36_1
  vc                 anaconda/pkgs/free/win-64::vc-14-0
  vs2015_runtime     anaconda/pkgs/free/win-64::vs2015_runtime-14.0.25420-0
  wheel              anaconda/pkgs/free/win-64::wheel-0.29.0-py36_0
  wincertstore       anaconda/pkgs/free/win-64::wincertstore-0.2-py36_0


Proceed ([y]/n)? y


Downloading and Extracting Packages
python-3.6.2         | 31.5 MB   | ################################################################################################################ | 100%
Preparing transaction: done
Verifying transaction: done
Executing transaction: done
#
# To activate this environment, use
#
#     $ conda activate pytorch
#
# To deactivate an active environment, use
#
#     $ conda deactivate


D:\>conda activate pytorch

安装torch

(pytorch) D:\>cd D:\env\pytorch\1.2.0

(pytorch) D:\env\pytorch\1.2.0>pip install torch-1.2.0-cp36-cp36m-win_amd64.whl torchvision-0.4.0-cp36-cp36m-win_amd64.whl
Processing d:\env\pytorch\1.2.0\torch-1.2.0-cp36-cp36m-win_amd64.whl
Processing d:\env\pytorch\1.2.0\torchvision-0.4.0-cp36-cp36m-win_amd64.whl
Collecting numpy (from torch==1.2.0)
  Could not fetch URL http://pypi.mirrors.ustc.edu.cn/simple/numpy/: There was a problem confirming the ssl certificate: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:748) - skipping
  Could not find a version that satisfies the requirement numpy (from torch==1.2.0) (from versions: )
No matching distribution found for numpy (from torch==1.2.0)
You are using pip version 9.0.1, however version 22.0.4 is available.
You should consider upgrading via the 'python -m pip install --upgrade pip' command.

from yolov5-pytorch.

bubbliiiing avatar bubbliiiing commented on August 15, 2024

你装一下tensorboard

from yolov5-pytorch.

staneee avatar staneee commented on August 15, 2024

以及解决,安装环境如下:

  • pytorch 1.8.0
  • Python 3.8.5

from yolov5-pytorch.

bubbliiiing avatar bubbliiiing commented on August 15, 2024

0 0好的

from yolov5-pytorch.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.