in get_instance_segmentation_model(num_classes)
24     model = torchvision.models.detection.maskrcnn_resnet50_fpn(pretrained=True, progress=True,
25                                                        num_classes=num_classes, pretrained_backbone=True,
—> 26                                                        trainable_backbone_layers=3)
27
28
/usr/local/lib/python3.6/site-packages/torchvision/models/detection/mask_rcnn.py in maskrcnn_resnet50_fpn(pretrained, progress, num_classes, pretrained_backbone, **kwargs)
310         pretrained_backbone = False
311     backbone = resnet_fpn_backbone(‘resnet50’, pretrained_backbone)
–> 312     model = MaskRCNN(backbone, num_classes, **kwargs)
313     if pretrained:
314         state_dict = load_state_dict_from_url(model_urls[‘maskrcnn_resnet50_fpn_coco’],
TypeError: init() got an unexpected keyword argument ‘trainable_backbone_layers’