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
- Xet hash:
- 53ad247cd9e754400c839bfe82006d9315f834ca9fb532987535e2e0ea3632dd
- Size of remote file:
- 14.6 kB
- SHA256:
- 4ff66960b7e151d2f0ae14c182480b41f103b9a07efe4372c285b23d6c3f12d0
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.