Instructions to use youqiwong/CLUE with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use youqiwong/CLUE with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-to-image", model="youqiwong/CLUE")# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("youqiwong/CLUE", dtype="auto") - Notebooks
- Google Colab
- Kaggle
# Load model directly
from transformers import AutoModel
model = AutoModel.from_pretrained("youqiwong/CLUE", dtype="auto")Quick Links
CLUE Model Card
Model details
Model type: This model, named CLUE, is an advanced image forgery localization framework that synergistically combines a LoRA-tuned Stable Diffusion 3 (SD3) and Segment Anything Model (SAM). It uniquely leverages SD3's Rectified Flow mechanism to amplify subtle forensic artifacts, which enables state-of-the-art localization of forged image regions.
Project page: https://github.com/youqiwong/CLUE.git
Model tree for youqiwong/CLUE
Base model
stabilityai/stable-diffusion-3.5-medium
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-to-image", model="youqiwong/CLUE")