Instructions to use roydcarlson/grain with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use roydcarlson/grain with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="roydcarlson/grain") 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("roydcarlson/grain") model = AutoModelForImageClassification.from_pretrained("roydcarlson/grain", device_map="auto") - Notebooks
- Google Colab
- Kaggle
|
Download README.md from roydcarlson/grain: direct link, hf CLI and curl.
- Browser
- Download file 850 Bytes
-
https://huggingface.co/roydcarlson/grain/resolve/main/README.md
- Command line
-
hf download hf://roydcarlson/grain/README.md
-
curl -L -o README.md https://huggingface.co/roydcarlson/grain/resolve/main/README.md
850 Bytes
metadata
tags:
- image-classification
- pytorch
- huggingpics
metrics:
- accuracy
model-index:
- name: grain
results:
- task:
name: Image Classification
type: image-classification
metrics:
- name: Accuracy
type: accuracy
value: 0.6607142686843872
grain
Autogenerated by HuggingPics🤗🖼️
Create your own image classifier for anything by running the demo on Google Colab.
Report any issues with the demo at the github repo.




