LoRA adapter for Qwen-Image-Edit-2509: Convert white-background product photos to outdoor scenes
This repository contains the White_to_Scene LoRA adapter for Qwen-Image-Edit-2509, adapted for Huawei Ascend NPU inference.
Trigger word: 白底图转场景
Same LoRA as White_to_Scene with full base model name in path.
python3 inference.py --image test_images/product.png \
--prompt "白底图转场景, 将图片中的汽车放在户外场景中" \
--output result.pngQwen-Image-Edit-2509-White_to_Scene/
├── inference.py # Main inference script
├── README.md # This file
├── test_images/ # Sample input images
├── evaluation/
│ ├── eval_accuracy.py # CPU vs NPU accuracy comparison
│ ├── eval_performance.py # Throughput & latency benchmark
│ ├── terminal_screenshot.py # macOS-style screenshot generator
│ ├── take_screenshot.py # Screenshot helper
│ ├── logs/ # Evaluation results
│ └── screenshots/ # Output images & screenshots白底图转场景.safetensors (236 MB)Adapted for Huawei Ascend NPU by @m0_74196153