conda

  1. conda create -n myenv python=3.8
  2. conda activate myenv
  3. conda install pytorch==1.12.1 torchvision==0.13.1 torchaudio==0.12.1 cudatoolkit=10.2 -c pytorch
  4. pip install -U openmim -i https://pypi.tuna.tsinghua.edu.cn/simple
  5. mim install mmcv-full==1.6.1 -i https://pypi.tuna.tsinghua.edu.cn/simple
  6. python -m pip install -e . -i https://pypi.tuna.tsinghua.edu.cn/simple
posted @ 2024-10-26 21:11  zzzzzzz286972  阅读(4)  评论(0编辑  收藏  举报