mmdetection安装

1.官网下载mmdetecion

https://github.com/open-mmlab/mmdetection

2.安装mmcv-full

https://github.com/open-mmlab/mmcv#installation

3.下载cocoapi

https://github.com/cocodataset/cocoapi

4.安装cocoapi(python)
进入cocoapi-master/PythonAPI
输入命令python setup.py build_ext install或者pip install -v -e.
(哪那个成功用哪个)
如果没成功安装,再次输入命令前要删除PythonAPI中生成的三个文件
build、disk、pycocotools.egg-info
mmdetection安装
安装完毕后,输入conda list 查看是否安装成功
mmdetection安装
5.安装mmdet
进入mmdetection-master
输入命令 python setup.py develop进行安装
安装完毕 conda list检查安装是否成功
mmdetection安装
安装完毕!

上一篇:Pytorch-搭建网络框架(二)


下一篇:3090卡torch,mmcv,mmdetection环境配置 - 全宇宙最好