Skip to content

Commit

Permalink
Fix to detr_resnet101_dc5 in torch.hub (#90)
Browse files Browse the repository at this point in the history
  • Loading branch information
zhiqwang authored Dec 12, 2020
1 parent 97ba885 commit ea2c74b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion quickvision/models/detection/detr/model_factory.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ def create_detr_backbone(model_name: str, pretrained: str = None,):
backbone = torch.hub.load('facebookresearch/detr', 'detr_resnet50_dc5', pretrained=False)

elif(model_name == "resnet101_dc5"):
backbone = torch.hub.load('facebookresearch/detr', 'detr_resnet50_dc5', pretrained=False)
backbone = torch.hub.load('facebookresearch/detr', 'detr_resnet101_dc5', pretrained=False)

else:
raise ValueError("Unuspported backbone")
Expand Down

0 comments on commit ea2c74b

Please sign in to comment.