Instructions to use TheBirdLegacy/CatsandDogsPOC-Resnet with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use TheBirdLegacy/CatsandDogsPOC-Resnet with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="TheBirdLegacy/CatsandDogsPOC-Resnet") 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("TheBirdLegacy/CatsandDogsPOC-Resnet") model = AutoModelForImageClassification.from_pretrained("TheBirdLegacy/CatsandDogsPOC-Resnet", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 133 Bytes
42b13f4 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:3fa31c37a50203b630ce0b425e88d62a40bfd99a6776e5b358ca96ab39ef04fa
size 94374989
|