Comments (4)
按照此教程进行安装: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.
你装一下tensorboard
from yolov5-pytorch.
以及解决,安装环境如下:
- pytorch 1.8.0
- Python 3.8.5
from yolov5-pytorch.
0 0好的
from yolov5-pytorch.
Related Issues (20)
- getmap以及NMS问题 HOT 4
- get_map HOT 2
- 关于删除检测头的问题 HOT 6
- (新人请教)Torch not compiled with CUDA enabled,怎么解决 HOT 3
- predict.py问题 HOT 3
- ModuleNotFoundError: No module named 'tensorboard' HOT 1
- requirements.txt
- evalcallback和get_map 中的confidence设置 HOT 1
- 没有目标对象
- yolo中resize_image模块
- get_map.py HOT 1
- 关于onnx文件output
- Intel MKL ERROR: Parameter 6 was incorrect on entry to DGELSD. HOT 1
- RuntimeError: NCCL Error 2: unhandled system error (run with NCCL_DEBUG=INFO for details)
- Fail To Load Key: ['yolo_head_P3.weight', 'yolo_head_P3.bias', 'yolo_head_P4.weight', 'yolo_head_P4.bias', 'yolo_head_P5.weight', 'yolo_head_P5.bias'] …… Fail To Load Key num: 6 温馨提示,head部分没有载入是正常现象,Backbone部分没有载入是错误的。
- (新人求教)请问有没有人遇到过这个问题:THCudaCheck FAIL file=..\aten\src\THC\THCCachingHostAllocator.cpp line=296 error=30 : unknown error
- pt2onnx---export.py HOT 1
- 该如何去绘制其他评价指标呢,比如recall等
- 有大佬有尝试过在up的代码里加入注意力机制吗?
- 运行报错
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from yolov5-pytorch.