From bfbc4c9077ac40b2d28d859e4a3ac98b66fbc326 Mon Sep 17 00:00:00 2001 From: sebaxakerhtc <32651506+sebaxakerhtc@users.noreply.github.com> Date: Tue, 26 Mar 2024 02:06:06 +0200 Subject: [PATCH 1/3] Demofusion for Automatic1111's WebUI --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 1dd7e6a..95e8f31 100644 --- a/README.md +++ b/README.md @@ -13,6 +13,7 @@ Code release for "DemoFusion: Democratising High-Resolution Image Generation Wit **Abstract**: High-resolution image generation with Generative Artificial Intelligence (GenAI) has immense potential but, due to the enormous capital investment required for training, it is increasingly centralised to a few large corporations, and hidden behind paywalls. This paper aims to democratise high-resolution GenAI by advancing the frontier of high-resolution generation while remaining accessible to a broad audience. We demonstrate that existing Latent Diffusion Models (LDMs) possess untapped potential for higher-resolution image generation. Our novel DemoFusion framework seamlessly extends open-source GenAI models, employing Progressive Upscaling, Skip Residual, and Dilated Sampling mechanisms to achieve higher-resolution image generation. The progressive nature of DemoFusion requires more passes, but the intermediate results can serve as "previews", facilitating rapid prompt iteration. # News +- **2024.03.26**: 🚀 An [Demofusion Tab for Automatic1111](https://github.com/sebaxakerhtc/sd-webui-demofusion) is available! Thank [Alexander]([https://github.com/deroberon](https://github.com/sebaxakerhtc)) for the adaptation! - **2024.02.27**: 🔥 DemoFusion has been accepted to CVPR'24! - **2023.12.15**: 🚀 A [ComfyUI Demofusion Custom Node](https://github.com/deroberon/demofusion-comfyui) is available! Thank [Andre](https://github.com/deroberon) for the implementation! - **2023.12.12**: ✨ DemoFusion with ControNet is availabe now! Check it out at `pipeline_demofusion_sdxl_controlnet`! The local [Gradio Demo](https://github.com/PRIS-CV/DemoFusion#DemoFusionControlNet-with-local-Gradio-demo) is also available. From c24586ee7f09fd174a2c98ca00a082302c393f06 Mon Sep 17 00:00:00 2001 From: sebaxakerhtc <32651506+sebaxakerhtc@users.noreply.github.com> Date: Tue, 26 Mar 2024 02:11:26 +0200 Subject: [PATCH 2/3] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 95e8f31..3828370 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,7 @@ Code release for "DemoFusion: Democratising High-Resolution Image Generation Wit **Abstract**: High-resolution image generation with Generative Artificial Intelligence (GenAI) has immense potential but, due to the enormous capital investment required for training, it is increasingly centralised to a few large corporations, and hidden behind paywalls. This paper aims to democratise high-resolution GenAI by advancing the frontier of high-resolution generation while remaining accessible to a broad audience. We demonstrate that existing Latent Diffusion Models (LDMs) possess untapped potential for higher-resolution image generation. Our novel DemoFusion framework seamlessly extends open-source GenAI models, employing Progressive Upscaling, Skip Residual, and Dilated Sampling mechanisms to achieve higher-resolution image generation. The progressive nature of DemoFusion requires more passes, but the intermediate results can serve as "previews", facilitating rapid prompt iteration. # News -- **2024.03.26**: 🚀 An [Demofusion Tab for Automatic1111](https://github.com/sebaxakerhtc/sd-webui-demofusion) is available! Thank [Alexander]([https://github.com/deroberon](https://github.com/sebaxakerhtc)) for the adaptation! +- **2024.03.26**: 🚀 A [Demofusion Tab for Automatic1111](https://github.com/sebaxakerhtc/sd-webui-demofusion) is available! Thank [Alexander]([https://github.com/deroberon](https://github.com/sebaxakerhtc)) for the adaptation! - **2024.02.27**: 🔥 DemoFusion has been accepted to CVPR'24! - **2023.12.15**: 🚀 A [ComfyUI Demofusion Custom Node](https://github.com/deroberon/demofusion-comfyui) is available! Thank [Andre](https://github.com/deroberon) for the implementation! - **2023.12.12**: ✨ DemoFusion with ControNet is availabe now! Check it out at `pipeline_demofusion_sdxl_controlnet`! The local [Gradio Demo](https://github.com/PRIS-CV/DemoFusion#DemoFusionControlNet-with-local-Gradio-demo) is also available. From 4864e67cf71d7685047d8d83e3c49fb8655ab6aa Mon Sep 17 00:00:00 2001 From: sebaxakerhtc Date: Mon, 15 Apr 2024 08:26:22 +0300 Subject: [PATCH 3/3] Solve the issue with watermark --- pipeline_demofusion_sdxl.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pipeline_demofusion_sdxl.py b/pipeline_demofusion_sdxl.py index d6c0aea..a03d2cc 100644 --- a/pipeline_demofusion_sdxl.py +++ b/pipeline_demofusion_sdxl.py @@ -52,7 +52,7 @@ if is_invisible_watermark_available(): - from .watermark import StableDiffusionXLWatermarker + from diffusers.pipelines.stable_diffusion_xl.watermark import StableDiffusionXLWatermarker logger = logging.get_logger(__name__) # pylint: disable=invalid-name