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")# pip install -U transformers accelerate # 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
Download model.safetensors from diffusionai/skinclassifier: direct link, hf CLI and curl.
- Browser
- Download file 343 MB
-
https://huggingface.co/diffusionai/skinclassifier/resolve/main/model.safetensors
- Command line
-
hf download hf://diffusionai/skinclassifier/model.safetensors
-
curl -L -o model.safetensors https://huggingface.co/diffusionai/skinclassifier/resolve/main/model.safetensors
343 MB
- Xet hash:
- 76d0d955fa7c9f2141ce004c0466887e0b2b3fa30a9407d0acb59c724c1b0b08
- Size of remote file:
- 343 MB
- SHA256:
- 973ff1be5f2142c7daa6de784f39bf5838fdbaa73e816c107a1b8dafdc35571a
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.