conda env list:查看虚拟环境
conda create --name env_name python=3.7:创建虚拟环境
conda activate env_name:激活/进入该虚拟环境
查看CUDA版本可以使用nvidia-smi或者nvcc --version等命令进行查看
https://pytorch.org/get-started/previous-versions/
pip install torch-1.12.1+cu113-cp37-cp37m-linux_x86_64.whl
pip install -U openmim
mim install mmcv-full==1.7.0