没有c++
conda install libpython m2w64-toolchain -c msys2
call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvars64.bat"
set DISTUTILS_USE_SDK=1
conda install -c conda-forge google-colab
conda install -c conda-forge lap
安装pyqt
pip3 install pyqt5-tools -i https://pypi.tuna.tsinghua.edu.cn/simple
pip3 install --upgrade PyQt5 -i https://pypi.tuna.tsinghua.edu.cn/simple
pip3 install PyQtWebEngine -i https://pypi.tuna.tsinghua.edu.cn/simple
安装detectron2:
win10下载和安装cuda10.2 + cudnn7.6.5
https://blog.csdn.net/Kigha/article/details/127264742
pip install torch==1.9.0+cu102 torchvision==0.10.0+cu102 torchaudio==0.9.0 -f https://download.pytorch.org/whl/torch_stable.html
pip install ninja yacs cython matplotlib tqdm
pip install opencv-python==4.4.0.40
pip install scikit-image
pip install shapely
pip install -r ./requirements.txt
python setup.py install
conda常用命令
conda env list
conda remove -n vs2015 --all
conda activate new_detectron
conda activate base
conda create -n vs2015 python==3.8