全景分割、姿态估计、实例分割、目标检测 - Faster R-CNN)
一、前言
基于论文《Focal Loss for Dense Object Detection》提出的使用Focal Loss损失函数解决了样本不平衡的问题,这里简单实现Detectron2的安装与测试。原始代码为https://github.com/facebookresearch/detectron,但是后来统一了Detectron2https://github.com/facebookresearch/detectron2。关于该论文的源码也可参考:https://github.com/yhenon/pytorch-retinanet,源码解析参考:https://blog.csdn.net/weixin_38145317/article/details/98621095
二、安装Detectron2
python -m pip install 'git+https://github.com/facebookresearch/detectron2.git'
# (add --user if you don'