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