Update model id
Browse files
README.md
CHANGED
@@ -34,9 +34,9 @@ url = "http://images.cocodataset.org/val2017/000000039769.jpg"
|
|
34 |
image = Image.open(requests.get(url, stream=True).raw)
|
35 |
|
36 |
processor = AutoImageProcessor.from_pretrained(
|
37 |
-
"apple/aimv2-large-patch14-native",
|
38 |
)
|
39 |
-
model = AutoModel.from_pretrained("apple/aimv2-large-patch14-
|
40 |
|
41 |
inputs = processor(images=image, return_tensors="pt")
|
42 |
outputs = model(**inputs)
|
|
|
34 |
image = Image.open(requests.get(url, stream=True).raw)
|
35 |
|
36 |
processor = AutoImageProcessor.from_pretrained(
|
37 |
+
"apple/aimv2-large-patch14-native-HF",
|
38 |
)
|
39 |
+
model = AutoModel.from_pretrained("apple/aimv2-large-patch14-224-lit-HF")
|
40 |
|
41 |
inputs = processor(images=image, return_tensors="pt")
|
42 |
outputs = model(**inputs)
|