Update to correct ref: omlab/omdet-turbo-swin-tiny-hf (#2)
Browse files- Update to correct ref: omlab/omdet-turbo-swin-tiny-hf (c4119f87140c14ac3d403925b3da076a4881ae7c)
Co-authored-by: Anthony Milton <[email protected]>
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)
|