Instructions to use facebook/convnextv2-huge-22k-512 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use facebook/convnextv2-huge-22k-512 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="facebook/convnextv2-huge-22k-512") 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-huge-22k-512") model = AutoModelForImageClassification.from_pretrained("facebook/convnextv2-huge-22k-512", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Renaming *.grn.gamma -> *.grn.weight, *.grn.beta -> *.grn.bias and adding `safetensors` variant of this model (#5)
Verified signature- Renaming *.grn.gamma -> *.grn.weight, *.grn.beta -> *.grn.bias and adding `safetensors` variant of this model (0576b03ead2b866c27254b3a5fb55a6f336bce85) Co-authored-by: Ross Wightman <rwightman@users.noreply.huggingface.co>20567ae
-
Upload ConvNextV2ForImageClassification
46bf197