Instructions to use pyronear/resnet18 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use pyronear/resnet18 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="pyronear/resnet18") pipe("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/parrots.png")# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("pyronear/resnet18", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
docs: Updated dataset reference
frgfma7e4a19 -
docs: Updated README and config
frgfm823b978 -
feat: Added checkpoints
frgfm1837184 -
initial commit
F-G Fernandezb7034f9