torchvision.models.detection.fcos — Torchvision main ...
pytorch.org › vision › masterExample: >>> model = torchvision.models.detection.fcos_resnet50_fpn(pretrained=True) >>> model.eval() >>> x = [torch.rand(3, 300, 400), torch.rand(3, 500, 400)] >>> predictions = model(x) Args: pretrained (bool): If True, returns a model pre-trained on COCO train2017 progress (bool): If True, displays a progress bar of the download to stderr ...