Update README.md
Browse files
README.md
CHANGED
@@ -30,7 +30,7 @@ import torch
|
|
30 |
from PIL import Image
|
31 |
from transformers import AutoProcessor, AutoModelForZeroShotObjectDetection,
|
32 |
|
33 |
-
model_id = "IDEA-Research/grounding-dino-
|
34 |
|
35 |
processor = AutoProcessor.from_pretrained(model_id)
|
36 |
model = AutoModelForZeroShotObjectDetection.from_pretrained(model_id).to(device)
|
|
|
30 |
from PIL import Image
|
31 |
from transformers import AutoProcessor, AutoModelForZeroShotObjectDetection,
|
32 |
|
33 |
+
model_id = "IDEA-Research/grounding-dino-base"
|
34 |
|
35 |
processor = AutoProcessor.from_pretrained(model_id)
|
36 |
model = AutoModelForZeroShotObjectDetection.from_pretrained(model_id).to(device)
|