Comfyui_Lama

Comfyui_Lama
★ 56

图像修复蒙版抠图模型加载LaMa
为ComfyUI提供基于LaMa的蒙版修复节点(LamaaModelLoad、LamaApply、YamlConfigLoader),按蒙版去除或修复图像,支持yaml模型配置,包含完整模型,初次安装耗时较长。
💡 用蒙版对图片指定区域进行去除或原位修复。
🍴 17 Forks💻 Python🔄 2024-05-22
📦
网盘下载
复制链接后前往夸克网盘下载
https://pan.quark.cn/s/b45acaa3411d
📦 requirements.txt
pyyaml
tqdm
numpy
easydict==1.9.0
scikit-image
scikit-learn
opencv-python
tensorflow
joblib
matplotlib
pandas
albumentations==0.5.2
hydra-core==1.1.0
pytorch-lightning==1.2.9
tabulate
kornia==0.5.0
webdataset
packaging
wldhx.yadisk-direct
1 little girl
ComfyUI_temp_uitxc_00007_
ComfyUI_temp_sflvn_00011_
📄 README

Comfyui-Lama

a costumer node is realized to remove anything/inpainting anything from a picture by mask inpainting. Many thanks to brilliant work 🔥🔥🔥 of project lama and inpatinting anything!

Nodes

  • LamaaModelLoad
  • LamaApply
  • YamlConfigLoader: Because lama load models with yaml config file. So I add a extra node which could transfer yaml file to object which can easily handle in following process.
  • Models requirement

  • big-lama (put into models folder of customer node)
  • To-do list

    Acknowledgement

  • lama
  • inpatinting anything
  • Example

    original picture

    after lama

    after lama+sd