Fix test and docs (#14399)
This commit is contained in:
@@ -371,7 +371,7 @@ class TFViTModelIntegrationTest(unittest.TestCase):
|
||||
|
||||
@slow
|
||||
def test_inference_image_classification_head(self):
|
||||
model = TFViTForImageClassification.from_pretrained("google/vit-base-patch16-224", from_pt=True)
|
||||
model = TFViTForImageClassification.from_pretrained("google/vit-base-patch16-224")
|
||||
|
||||
feature_extractor = self.default_feature_extractor
|
||||
image = prepare_img()
|
||||
|
||||
Reference in New Issue
Block a user