Instructions to use facebook/convnextv2-large-22k-224 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use facebook/convnextv2-large-22k-224 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="facebook/convnextv2-large-22k-224") pipe("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/parrots.png")# pip install -U transformers accelerate # Load model directly from transformers import AutoImageProcessor, AutoModelForImageClassification processor = AutoImageProcessor.from_pretrained("facebook/convnextv2-large-22k-224") model = AutoModelForImageClassification.from_pretrained("facebook/convnextv2-large-22k-224", device_map="auto") - Inference
- Notebooks
- Google Colab
- Kaggle
Commit History
-
Renaming *.grn.gamma -> *.grn.weight, *.grn.beta -> *.grn.bias and adding `safetensors` variant of this model (#3)
Verified signature- Renaming *.grn.gamma -> *.grn.weight, *.grn.beta -> *.grn.bias and adding `safetensors` variant of this model (c26a136a7d111c323f1c331d05b7ceee851479e5) Co-authored-by: Ross Wightman <rwightman@users.noreply.huggingface.co>e58a79c
-
Upload ConvNextV2ForImageClassification
926bca2