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 optimizer.pt from diffusionai/skinclassifier: direct link, hf CLI and curl.
- Browser
- Download file 687 MB
-
https://huggingface.co/diffusionai/skinclassifier/resolve/main/optimizer.pt
- Command line
-
hf download hf://diffusionai/skinclassifier/optimizer.pt
-
curl -L -o optimizer.pt https://huggingface.co/diffusionai/skinclassifier/resolve/main/optimizer.pt
687 MB
- Xet hash:
- 5c06d8f10ac32099120d3d64b20bb1102544b7b0dc6e1765878860c00b0010de
- Size of remote file:
- 687 MB
- SHA256:
- 9e5ff926e92d8a6e00edd1ebb511cdb3675fb1649fc424643fadab56d162c87c
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.