Instructions to use ags0504/diamond-classifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ags0504/diamond-classifier with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="ags0504/diamond-classifier") pipe("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/parrots.png")# Load model directly from transformers import AutoImageProcessor, AutoModelForImageClassification processor = AutoImageProcessor.from_pretrained("ags0504/diamond-classifier") model = AutoModelForImageClassification.from_pretrained("ags0504/diamond-classifier", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 134 Bytes
d7d2880 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:08718b4ab6e4d2d99b3aab9a961fc4c08e1f19d5dadac5a1b184acad3fbb9eb7
size 343287149
|