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", device_map="auto") 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
License
#1
by Vilabella - opened
Hi! The model does not have any license file attached to it or information about the dataset used and its dataset license.
Hi, thanks for the heads-up. I've assigned a CC-Attribution 4.0 license to the model and added some information in the README about the licensing status of the training data.
umm-maybe changed discussion status to closed
This comment has been hidden