Skip to content

    Official implementation of Magic Clothing: Controllable Garment-Driven Image Synthesis

    License

    Notifications You must be signed in to change notification settings

    ShineChen1024/MagicClothing

    Repository files navigation

    Magic Clothing (ACM Multimedia 2024)

    This repository is the official implementation of Magic Clothing

    Magic Clothing is a branch version of OOTDiffusion, focusing on controllable garment-driven image synthesis

    Magic Clothing: Controllable Garment-Driven Image Synthesis [arXiv paper]
    Weifeng Chen*, Tao Gu*, Yuhao Xu*+, Chengcai Chen
    * Equal contribution + Corresponding author
    Xiao-i Research

    ???? We are continuing to improve this project. Please check earlyAccess branch for new features and updates : )

    News

    ?? [2024/4/16] Our paper is available now!

    ?? [2024/3/8] We release the model weights trained on the 768 resolution. The strength of clothing and text prompts can be independently adjusted.

    ?? Hugging Face link

    ?? [2024/2/28] We support IP-Adapter-FaceID with ControlNet-Openpose now! A portrait and a reference pose image can be used as additional conditions.

    Have fun with gradio_ipadapter_openpose.py

    ?? [2024/2/23] We support IP-Adapter-FaceID now! A portrait image can be used as an additional condition.

    Have fun with gradio_ipadapter_faceid.py

    demo? workflow?

    Installation

    1. Clone the repository
    git clone https://github.com/ShineChen1024/MagicClothing.git
    1. Create a conda environment and install the required packages
    conda create -n magicloth python==3.10
    conda activate magicloth
    pip install torch==2.0.1 torchvision==0.15.2 torchaudio==2.0.2
    pip install -r requirements.txt

    Inference

    1. Python demo

    512 weights

    python inference.py --cloth_path [your cloth path] --model_path [your model checkpoints path]

    768 weights

    python inference.py --cloth_path [your cloth path] --model_path [your model checkpoints path] --enable_cloth_guidance
    1. Gradio demo

    512 weights

    python gradio_generate.py --model_path [your model checkpoints path] 

    768 weights

    python gradio_generate.py --model_path [your model checkpoints path] --enable_cloth_guidance

    Citation

    @article{chen2024magic,
      title={Magic Clothing: Controllable Garment-Driven Image Synthesis},
      author={Chen, Weifeng and Gu, Tao and Xu, Yuhao and Chen, Chengcai},
      journal={arXiv preprint arXiv:2404.09512},
      year={2024}
    }
    

    TODO List

    • Paper
    • Gradio demo
    • Inference code
    • Model weights
    • Training code
    主站蜘蛛池模板: 国产av一区最新精品| 国产AV天堂无码一区二区三区| 日本一区二区三区精品国产| 久久无码人妻一区二区三区| 国产伦理一区二区三区| 中文字幕人妻第一区| 国产凹凸在线一区二区| 一区二区三区在线看| 国产91精品一区| 无码av中文一区二区三区桃花岛| 日韩亚洲AV无码一区二区不卡| 国产精品99无码一区二区| 国产产一区二区三区久久毛片国语| 影音先锋中文无码一区| 日韩一区二区三区无码影院| 国产午夜精品一区二区三区| 中文字幕一区二区三区永久 | 国产香蕉一区二区三区在线视频 | 国产香蕉一区二区三区在线视频| 亚洲国产精品无码久久一区二区 | 国产福利一区二区三区视频在线| 久久久精品一区二区三区 | 国产乱码一区二区三区爽爽爽| 福利电影一区二区| 国产成人精品一区二区三在线观看| 国产精品视频一区国模私拍| 欧美成人aaa片一区国产精品| 色一情一乱一伦一区二区三欧美| 亚洲熟妇成人精品一区| 老熟妇高潮一区二区三区| 国产福利无码一区在线| 国产一区二区影院| 国产精品99无码一区二区| 亚洲一区二区三区自拍公司| 日产精品久久久一区二区| 国产一区二区成人| 国产一区二区三区在线免费观看 | 国产精品资源一区二区| 在线观看国产一区二区三区| 一区二区三区四区无限乱码 | 久久亚洲综合色一区二区三区 |