Instructions to use Ramos-Ramos/resnet50.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/resnet50.custom_imagenet_threshold_0.5 with timm:
import timm model = timm.create_model("hf_hub:Ramos-Ramos/resnet50.custom_imagenet_threshold_0.5", pretrained=True) - Transformers
How to use Ramos-Ramos/resnet50.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/resnet50.custom_imagenet_threshold_0.5") pipe("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/parrots.png")# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("Ramos-Ramos/resnet50.custom_imagenet_threshold_0.5", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Downloads last month
- -