Instructions to use Ramos-Ramos/convnext_base.custom_imagenet_threshold_0.5 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- timm
How to use Ramos-Ramos/convnext_base.custom_imagenet_threshold_0.5 with timm:
import timm model = timm.create_model("hf-hub:Ramos-Ramos/convnext_base.custom_imagenet_threshold_0.5", pretrained=True) - Transformers
How to use Ramos-Ramos/convnext_base.custom_imagenet_threshold_0.5 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="Ramos-Ramos/convnext_base.custom_imagenet_threshold_0.5") 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("Ramos-Ramos/convnext_base.custom_imagenet_threshold_0.5") model = AutoModelForImageClassification.from_pretrained("Ramos-Ramos/convnext_base.custom_imagenet_threshold_0.5", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Downloads last month
- 49