model = models.detection.fasterrcnn_resnet50_fpn(pretrained=True)
AttributeError: module ‘torchvision.models’ has no attribute ‘detection’
Tried with Pytorch 0.4.1 and 1.1.0 as well.
Thanks in advance.