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

Fix documentation references to google/bit-50 model (#32407)

parent ea5da52e
......@@ -870,8 +870,8 @@ class BitBackbone(BitPreTrainedModel, BackboneMixin):
>>> url = "http://images.cocodataset.org/val2017/000000039769.jpg"
>>> image = Image.open(requests.get(url, stream=True).raw)
>>> processor = AutoImageProcessor.from_pretrained("google/resnetnv2-50")
>>> model = AutoBackbone.from_pretrained("google/resnetnv2-50")
>>> processor = AutoImageProcessor.from_pretrained("google/bit-50")
>>> model = AutoBackbone.from_pretrained("google/bit-50")
>>> inputs = processor(image, return_tensors="pt")
>>> outputs = model(**inputs)
......
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