Unverified Commit 4aa630ee authored by Francisco Kurucz's avatar Francisco Kurucz Committed by GitHub
Browse files

Fix documentation code to import facebook/detr-resnet-50 model (#20491)

parent 86e435bb
......@@ -119,7 +119,7 @@ Option 1: Instantiate DETR with pre-trained weights for entire model
```py
>>> from transformers import DetrForObjectDetection
>>> model = DetrForObjectDetection.from_pretrained("facebook/resnet-50")
>>> model = DetrForObjectDetection.from_pretrained("facebook/detr-resnet-50")
```
Option 2: Instantiate DETR with randomly initialized weights for Transformer, but pre-trained weights for backbone
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment