基于4060显卡创建深度学习环境
·
YOLO必要
# 一、在conda新建python3.8的环境
conda create -n envir_name python=3.8 -y
# 二、安装pytorch
pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu121
# OpenCV
pip install opencv-python -i https://pypi.tuna.tsinghua.edu.cn/simple
# PyYAML模块
pip install pyyaml -i https://pypi.tuna.tsinghua.edu.cn/simple
# matplotlib
pip install matplotlib -i https://pypi.tuna.tsinghua.edu.cn/simple
pip install polars -i https://pypi.tuna.tsinghua.edu.cn/simple
pip install scipy -i https://pypi.tuna.tsinghua.edu.cn/simple
非必要
#安装labelimg
pip install labelImg -i https://mirrors.aliyun.com/pypi/simple/ --trusted-host mirrors.aliyun.com
更多推荐



所有评论(0)