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