Shortcuts

更快的 R-CNN

Faster R-CNN 模型基于 Faster R-CNN: Towards Real-Time Object Detection with Region Proposal Networks 论文。

警告

检测模块处于测试阶段,不保证向后兼容性。

模型构建器

以下模型构建器可用于实例化Faster R-CNN模型,无论是否使用预训练权重。所有模型构建器内部都依赖于torchvision.models.detection.faster_rcnn.FasterRCNN基类。有关此类的更多详细信息,请参阅源代码

fasterrcnn_resnet50_fpn(*[, weights, ...])

使用ResNet-50-FPN骨干网络的Faster R-CNN模型,来自Faster R-CNN: Towards Real-Time Object Detection with Region Proposal Networks论文。

fasterrcnn_resnet50_fpn_v2(*[, weights, ...])

构建了一个改进的Faster R-CNN模型,使用ResNet-50-FPN骨干网络,该模型来自Benchmarking Detection Transfer Learning with Vision Transformers论文。

fasterrcnn_mobilenet_v3_large_fpn(*[, ...])

构建一个具有MobileNetV3-Large FPN骨干网络的高分辨率Faster R-CNN模型。

fasterrcnn_mobilenet_v3_large_320_fpn(*[, ...])

低分辨率 Faster R-CNN 模型,采用 MobileNetV3-Large 骨干网络,专为移动用例优化。