Anthony Milton commited on
Commit
c4119f8
·
verified ·
1 Parent(s): 6baee35

Update to correct ref: omlab/omdet-turbo-swin-tiny-hf

Browse files
Files changed (1) hide show
  1. README.md +2 -2
README.md CHANGED
@@ -23,8 +23,8 @@ from PIL import Image
23
 
24
  from transformers import AutoProcessor, OmDetTurboForObjectDetection
25
 
26
- processor = AutoProcessor.from_pretrained("omlab/omdet-turbo-tiny")
27
- model = OmDetTurboForObjectDetection.from_pretrained("omlab/omdet-turbo-tiny")
28
 
29
  url = "http://images.cocodataset.org/val2017/000000039769.jpg"
30
  image = Image.open(requests.get(url, stream=True).raw)
 
23
 
24
  from transformers import AutoProcessor, OmDetTurboForObjectDetection
25
 
26
+ processor = AutoProcessor.from_pretrained("omlab/omdet-turbo-swin-tiny-hf")
27
+ model = OmDetTurboForObjectDetection.from_pretrained("omlab/omdet-turbo-swin-tiny-hf")
28
 
29
  url = "http://images.cocodataset.org/val2017/000000039769.jpg"
30
  image = Image.open(requests.get(url, stream=True).raw)