赞
踩
无须安装CUDA,只需要有NVIDIA图形驱动即可
在环境变量Path中添加如下变量
C:\Server\miniconda
C:\Server\miniconda\Scripts
C:\Server\miniconda\Library\bin
conda create -n yolov5
conda activate yolov5
CommandNotFoundError: Your shell has not been properly configured to use 'conda activate'. To initialize your shell, run $ conda init <SHELL_NAME> Currently supported shells are: - bash - fish - tcsh - xonsh - zsh - powershell See 'conda init --help' for more information and options. IMPORTANT: You may need to close and restart your shell after running 'conda init
Windows:执行如下命令后即可使用命令conda activate yolov5
conda init cmd.exe
Linux:执行如下命令后即可使用命令conda activate yolov5
conda init bash
https://download.pytorch.org/whl/lts/1.8/cu102/torch-1.8.2%2Bcu102-cp38-cp38-win_amd64.whl
pip install C:\torch-1.8.2+cu102-cp38-cp38-win_amd64.whl
pip3 install torch==1.8.2 torchvision==0.9.2 torchaudio==0.8.2 --extra-index-url https://download.pytorch.org/whl/lts/1.8/cu102
https://github.com/ultralytics/yolov5/releases/v7.0/
# YOLOv5 声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/2023面试高手/article/detail/218715
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。