安装mmengine和mmsegmentation

cd D:\BaiduSyncdisk\shuai_driving\shuai_framework
d:
git clone -b main https://github.com/open-mmlab/mmsegmentation.git
ren mmsegmentation src
cd src

create -n shuai python=3.8 -y 
conda activate shuai

pip install "d:\torch-1.13.1+cu116-cp38-cp38-win_amd64.whl" 

pip install torch==1.13.1+cu116 torchvision==0.14.1+cu116 torchaudio==0.13.1 --extra-index-url https://download.pytorch.org/whl/cu116  numpy==1.26.0  -i https://pypi.tuna.tsinghua.edu.cn/simple

pip install -e -v .

猜你喜欢

转载自blog.csdn.net/m0_51579041/article/details/142699482