Fix typo
Browse files
README.md
CHANGED
@@ -57,7 +57,7 @@ url = 'http://images.cocodataset.org/val2017/000000039769.jpg'
|
|
57 |
image = Image.open(requests.get(url, stream=True).raw)
|
58 |
|
59 |
feature_extractor = ViTFeatureExtractor.from_pretrained('google/vit-base-patch16-224-in21k')
|
60 |
-
model =
|
61 |
|
62 |
inputs = feature_extractor(images=image, return_tensors="np")
|
63 |
outputs = model(**inputs)
|
|
|
57 |
image = Image.open(requests.get(url, stream=True).raw)
|
58 |
|
59 |
feature_extractor = ViTFeatureExtractor.from_pretrained('google/vit-base-patch16-224-in21k')
|
60 |
+
model = FlaxViTModel.from_pretrained('google/vit-base-patch16-224-in21k')
|
61 |
|
62 |
inputs = feature_extractor(images=image, return_tensors="np")
|
63 |
outputs = model(**inputs)
|