美文网首页
Ubuntu18.04安装detectron2

Ubuntu18.04安装detectron2

作者: 风中逍锋 | 来源:发表于2021-09-05 16:20 被阅读0次

本次安装使用离线安装,即先下载安装包,然后再安装对应依赖包
主要安装包有:fvcore,pycocotools和detectron2包
fvcore:
参考链接:https://github.com/facebookresearch/fvcore
对应命令:

git clone https://github.com/facebookresearch/fvcore
pip install -e fvcore

pycocotools:
参考链接:https://blog.csdn.net/u013685264/article/details/100331064
对应命令:

cd cocoapi/PythonAPI
python3 setup.py build_ext --inplace
python3 setup.py build_ext install

detectron2:
参考链接:https://blog.csdn.net/notHeadache/article/details/106412425
对应命令:

git clone https://github.com/zhanghang1989/detectron2-ResNeSt.git
cd detectron2-ResNeSt && python3 -m pip install -e .

相关文章

网友评论

      本文标题:Ubuntu18.04安装detectron2

      本文链接:https://www.haomeiwen.com/subject/ibbjwltx.html