Instructions to use eggnog/Qwen-Edit-2509-Stereogram_LoRa with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use eggnog/Qwen-Edit-2509-Stereogram_LoRa with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline from diffusers.utils import load_image # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("Qwen/Qwen-Image-Edit-2509", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("eggnog/Qwen-Edit-2509-Stereogram_LoRa") prompt = "Make Stereogram" input_image = load_image("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/diffusers/cat.png") image = pipe(image=input_image, prompt=prompt).images[0] - Inference
- Notebooks
- Google Colab
- Kaggle
- Local Apps
- Draw Things
metadata
tags:
- lora
- diffusers
- template:diffusion-lora
- image-to-image
widget:
- output:
url: images/food.png
text: Make Stereogram
- output:
url: images/bug.png
text: Make Stereogram
- output:
url: images/3D.png
text: Make Stereogram
- output:
url: images/foodm.png
text: Make Stereogram
- output:
url: images/Human.png
text: Make Stereogram
base_model: Qwen/Qwen-Image-Edit-2509
instance_prompt: Make Stereogram
license: mit
pipeline_tag: image-to-image
Qwen-Edit-2509-Stereogram_LoRa

- Prompt
- Make Stereogram

- Prompt
- Make Stereogram

- Prompt
- Make Stereogram

- Prompt
- Make Stereogram

- Prompt
- Make Stereogram
Model description
The lora creates an second image that can be combined via image stich (with the orginal) to create an image that can be viewed in VR.
It works well with 3D, 2.5 and photos. 2D images can be an hit or miss, due to them missing in the dataset. Around 1700 images (16 Epochs) where used in the dataset, with mixed content. Works better then my Flux-Kontext-version.
Lower epochs can be found in the "epoch"-folder
I recommend generating atleast 2 imagepairs, with clip strength of 2 and model of 1.5 (varies for type of image and wanted effect depth)
Trigger words
You should use Make Stereogram to trigger the image generation.
Download model
Download them in the Files & versions tab.