Qwen-Image-Edit-2509 的 LoRA 适配器:将白底产品照片转换为户外场景
本仓库包含适用于 Qwen-Image-Edit-2509 的 White_to_Scene LoRA 适配器,已适配 华为昇腾 NPU 推理。
触发词: 白底图转场景
与 White_to_Scene 相同的 LoRA,路径中包含完整的基础模型名称。
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)由 @m0_74196153 适配华为昇腾 NPU