nielsr HF staff commited on
Commit
6b6c585
1 Parent(s): 8140d7d
Files changed (1) hide show
  1. README.md +1 -1
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 = ViTModel.from_pretrained('google/vit-base-patch16-224-in21k')
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)