We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f005bca commit d519e22Copy full SHA for d519e22
src/transformers/models/convnext/modeling_tf_convnext.py
@@ -537,7 +537,7 @@ def call(
537
>>> image = Image.open(requests.get(url, stream=True).raw)
538
539
>>> feature_extractor = ConvNextFeatureExtractor.from_pretrained("facebook/convnext-tiny-224")
540
- >>> model = TFViTForImageClassification.from_pretrained("facebook/convnext-tiny-224")
+ >>> model = TFConvNextForImageClassification.from_pretrained("facebook/convnext-tiny-224")
541
542
>>> inputs = feature_extractor(images=image, return_tensors="tf")
543
>>> outputs = model(**inputs)
0 commit comments