Anthony Milton
commited on
Update to correct ref: omlab/omdet-turbo-swin-tiny-hf
Browse files
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)
|