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