Instructions to use lrzjason/QwenEdit-Anything2Real_Alpha with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use lrzjason/QwenEdit-Anything2Real_Alpha 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("lrzjason/QwenEdit-Anything2Real_Alpha") prompt = "Turn this cat into a dog" 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
Render for robotics
#9
by flyingccm2momo - opened
Thank u for the amazing work!
I'm new to Qwen-edit and LoRA, and I'm interested in using this approach to generate realistic renderings from simulator data. Could you advise/be detailed on how to construct a suitable dataset for the sim2real task? Also, are there any available demos or tutorials that cover data loading and the finetuning procedure for Qwen-edit?
I would opensource a subset of anything2real dataset. You might reference that.
lrzjason/Anything2Real_demo_dataset