mmdet cpu版安裝

conda create -n open-mmlab python=3.6
conda activate open-mmlab

conda install pytorch=1.3.1 torchvision=0.4.2 cpuonly -c pytorch
pip install cython=0.29.19 

git clone https://github.com/cocodataset/cocoapi.git
cd cocoapi/PythonAPI
make
cd ../..
python cocoapi/PythonAPI/setup.py build_ext install

git clone https://github.com/open-mmlab/mmdetection.git
cd mmdetection
pip install -r requirements/build.txt
pip install matplotlib=3.2.1  mmcv=0.5.7
python setup.py develop

 

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章