ComfyUI_InstantIR_Wrapper

ComfyUI_InstantIR_Wrapper
★ 244

盲图像修复去模糊生成式参考低显存加速
在ComfyUI中集成InstantIR,用生成式参考对模糊照片进行盲图像修复,快速恢复细节并节省显存。
💡 在ComfyUI中快速修复模糊照片并恢复细节
🍴 5 Forks💻 Python🔄 2025-03-12
📦
网盘下载
复制链接后前往夸克网盘下载
https://pan.quark.cn/s/c1eafc754fbb
📦 requirements.txt
diffusers
#accelerate==0.25.0
#datasets==2.19.1
#einops==0.8.0
kornia
#numpy==1.26.4
opencv-python
peft
#pyrallis==0.3.1
#tokenizers==0.15.2
#torch
#torchvision==0.15.2
#transformers==4.36.2
#gradio==4.44.1
📄 README

ComfyUI_InstantIR_Wrapper

You can InstantIR to Fix blurry photos in ComfyUI

InstantIR:Blind Image Restoration with Instant Generative Reference

喜欢这个项目的,请给InstantIR项目个星星!(If you like this project, please give the InstantIR project a star!)


Update


2024-11-11

  • change some code for lowram,The inference speed of 4070 12G is 20 times faster than before(21s at 20 steps );
  • 修改了一些代码,目前4070 12G的推理速度比之前演示的快20倍(感觉这个才是正常的,显存峰值10G左右,20步跑完20秒左右)
  • 1.Installation


    In the ./ComfyUI /custom_node directory, run the following:

    git clone https://github.com/smthemex/ComfyUI_InstantIR_Wrapper.git

    2.requirements


    pip install -r requirements.txt

    3.checkpoints


    3.1 any SDXL checkpoint

    3.2 InstantIR checkpoints InstantIR

    ├── ComfyUI/models/InstantIR/models
    |     ├── adapter.pt
    |     ├── aggregator.pt
    |     ├──previewer_lora_weights.bin

    3.3 dino: online or any local path dinov2-large

    3.4 lcm lora lcm-lora-sdxl


    4.Example



    5.Citation


    instantX-research/InstantIR