1 Star 3 Fork 3

AI chat/MagicAnimate

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
1年前
2年前
Loading...
README
BSD-3-Clause

用扩散模型进行的时间一致的人类形象动画

Zhongcong Xu · Jianfeng Zhang · Jun Hao Liew · Hanshu Yan · Jia-Wei Liu · Chenxu Zhang · Jiashi Feng · Mike Zheng Shou

Paper PDF Project Page
National University of Singapore   |   ByteDance

📢 News

  • **[2023.12.4] 发布推理代码和G无线电演示。我们正在努力改进魔术动画,继续收看!
  • **[2023.11.23] 释放魔术动画纸和项目页。

🏃‍♂️ 开始使用

请下载预训练模型StableDiffusion V1.5MSE-finetuned VAE.

下载我们的 MagicAnimate checkpoints.

按如下方式放置它们:

magic-animate
|----pretrained_models
  |----MagicAnimate
    |----appearance_encoder
      |----diffusion_pytorch_model.safetensors
      |----config.json
    |----densepose_controlnet
      |----diffusion_pytorch_model.safetensors
      |----config.json
    |----temporal_attention
      |----temporal_attention.ckpt
  |----sd-vae-ft-mse
    |----...
  |----stable-diffusion-v1-5
    |----...
|----...

⚒️ 安装

先决条件: python>=3.8, CUDA>=11.3, and ffmpeg.

安装 conda:

conda env create -f environment.yaml
conda activate manimate

pip:

pip3 install -r requirements.txt

💃 推理

在单个 GPU 上运行推理:

bash scripts/animate.sh

使用多个 GPU 运行推理:

bash scripts/animate_dist.sh

🎨 Gradio Demo

在线电台演示:

快速尝试我们的 online gradio demo .

本地电台演示:

在单 GPU 上启动本地 gradio 演示:

python3 -m demo.gradio_animate

如果您有多个 GPU,请启动本地 gradio 演示:

python3 -m demo.gradio_animate_dist

然后在本地浏览器中打开gradio demo。

🙏 致谢

我们要感谢 AK(@_akhaliq) 和huggingface 团队帮助设置oneline gradio演示

🎓 引文

如果您发现此代码库对您的研究有用,请使用以下条目。

@inproceedings{xu2023magicanimate,
    author    = {Xu, Zhongcong and Zhang, Jianfeng and Liew, Jun Hao and Yan, Hanshu and Liu, Jia-Wei and Zhang, Chenxu and Feng, Jiashi and Shou, Mike Zheng},
    title     = {MagicAnimate: Temporally Consistent Human Image Animation using Diffusion Model},
    booktitle = {arXiv},
    year      = {2023}
}
BSD 3-Clause License Copyright 2023 MagicAnimate Team All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. 3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

简介

MagicAnimate:使用扩散模型的时间一致的人体图像动画 展开 收起
README
BSD-3-Clause
取消

发行版

暂无发行版

贡献者 (2)

全部

近期动态

1年多前评论了任务 #I8OWK7 简单梳理
1年多前创建了任务 #I8OWK7 简单梳理
1年多前推送了新的提交到 main 分支,595231c...d4c7e11
1年多前同步了仓库
1年多前推送了新的 master 分支
加载更多
不能加载更多了
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Python
1
https://gitee.com/yun-net/magic-animate.git
git@gitee.com:yun-net/magic-animate.git
yun-net
magic-animate
MagicAnimate
main

搜索帮助