Instructions to use CompVis/stable-diffusion-safety-checker with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use CompVis/stable-diffusion-safety-checker with Transformers:
# Load model directly from transformers import AutoProcessor, SafetyChecker processor = AutoProcessor.from_pretrained("CompVis/stable-diffusion-safety-checker") model = SafetyChecker.from_pretrained("CompVis/stable-diffusion-safety-checker", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Xet hash:
- 1f4df6bdd072732d99e4d0867f883a2a0d2724c5edce3e64e3dd4a526412c7c3
- Size of remote file:
- 1.22 GB
- SHA256:
- 11cfe53105625af8c00faac32a430626641cce686454f3c39d837f14397d858b
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.