detectron2 + Ubuntuの+ CPU

#conda環境を作成します。

condaは-n detectron2のpython = 3.7を作成します

 

#インストールpytorch、CPU

 

pip install opencv-python(清华源

pip install cython(清华源

 

pip install 'git+https://github.com/cocodataset/cocoapi.git#subdirectory=PythonAPI'

 

python -mピップ-eをインストールします。

 

おすすめ

転載: www.cnblogs.com/zherlock/p/12508328.html