zcxu-eric commited on
Commit
8d2200f
1 Parent(s): bfc720c
.gitignore ADDED
@@ -0,0 +1 @@
 
 
1
+ __pycache__
app.py CHANGED
@@ -26,16 +26,18 @@ with gr.Blocks() as demo:
26
 
27
  gr.HTML(
28
  """
29
- <div style="text-align: center; max-width: 1200px; margin: 20px auto;">
30
- <h1 style="font-weight: 800; font-size: 2rem; margin: 0rem">
31
- MagicAnimate: Temporally Consistent Human Image Animation
32
- </h1>
33
- <br>
34
- <h2 style="font-weight: 450; font-size: 1rem; margin: 0rem">
35
- <a href="https://showlab.github.io/magicanimate">Project page</a> |
36
- <a href="https://github.com/magic-research/magic-animate"> GitHub </a> |
37
- <a href="https://arxiv.org/abs/2311.16498"> arXiv </a>
38
- </h2>
 
 
39
  </div>
40
  """)
41
  animation = gr.Video(format="mp4", label="Animation Results", autoplay=True)
 
26
 
27
  gr.HTML(
28
  """
29
+ <div style="display: flex; justify-content: center; align-items: center; text-align: center;">
30
+ <a href="https://github.com/magic-research/magic-animate" style="margin-right: 20px; text-decoration: none; display: flex; align-items: center;">
31
+ </a>
32
+ <div>
33
+ <h1 >MagicAnimate: Temporally Consistent Human Image Animation using Diffusion Model</h1>
34
+ <h5 style="margin: 0;">If you like our project, please give us a star ✨ on Github for the latest update.</h5>
35
+ <div style="display: flex; justify-content: center; align-items: center; text-align: center;>
36
+ <a href="https://arxiv.org/abs/2311.16498"><img src="https://img.shields.io/badge/Arxiv-2311.16498-red"></a>
37
+ <a href='https://showlab.github.io/magicanimate'><img src='https://img.shields.io/badge/Project_Page-MagicAnimate-green' alt='Project Page'></a>
38
+ <a href='https://github.com/magic-research/magic-animate'><img src='https://img.shields.io/badge/Github-Code-blue'></a>
39
+ </div>
40
+ </div>
41
  </div>
42
  """)
43
  animation = gr.Video(format="mp4", label="Animation Results", autoplay=True)
configs/prompts/animation.yaml CHANGED
@@ -1,10 +1,10 @@
1
  pretrained_model_path: "stable-diffusion-v1-5"
2
  pretrained_vae_path: "sd-vae-ft-mse"
3
- pretrained_controlnet_path: "MagicAnimate/densepose_controlnet"
4
- pretrained_appearance_encoder_path: "MagicAnimate/appearance_encoder"
5
  pretrained_unet_path: ""
6
 
7
- motion_module: "MagicAnimate/temporal_attention/temporal_attention.ckpt"
8
 
9
  savename: null
10
 
 
1
  pretrained_model_path: "stable-diffusion-v1-5"
2
  pretrained_vae_path: "sd-vae-ft-mse"
3
+ pretrained_controlnet_path: "~/.cache/huggingface/hub/MagicAnimate/densepose_controlnet"
4
+ pretrained_appearance_encoder_path: "~/.cache/huggingface/hub/MagicAnimate/appearance_encoder"
5
  pretrained_unet_path: ""
6
 
7
+ motion_module: "~/.cache/huggingface/hub/MagicAnimate/temporal_attention/temporal_attention.ckpt"
8
 
9
  savename: null
10
 
magicanimate/models/__pycache__/appearance_encoder.cpython-38.pyc DELETED
Binary file (33 kB)
 
magicanimate/models/__pycache__/attention.cpython-38.pyc DELETED
Binary file (6.74 kB)
 
magicanimate/models/__pycache__/controlnet.cpython-38.pyc DELETED
Binary file (12.6 kB)
 
magicanimate/models/__pycache__/embeddings.cpython-38.pyc DELETED
Binary file (11.1 kB)
 
magicanimate/models/__pycache__/motion_module.cpython-38.pyc DELETED
Binary file (8.34 kB)
 
magicanimate/models/__pycache__/mutual_self_attention.cpython-38.pyc DELETED
Binary file (19 kB)
 
magicanimate/models/__pycache__/orig_attention.cpython-38.pyc DELETED
Binary file (29.7 kB)
 
magicanimate/models/__pycache__/resnet.cpython-38.pyc DELETED
Binary file (4.96 kB)
 
magicanimate/models/__pycache__/stable_diffusion_controlnet_reference.cpython-38.pyc DELETED
Binary file (24.9 kB)
 
magicanimate/models/__pycache__/unet_3d_blocks.cpython-38.pyc DELETED
Binary file (12 kB)
 
magicanimate/models/__pycache__/unet_controlnet.cpython-38.pyc DELETED
Binary file (12.3 kB)
 
magicanimate/pipelines/__pycache__/animation.cpython-37.pyc DELETED
Binary file (7.07 kB)
 
magicanimate/pipelines/__pycache__/animation.cpython-38.pyc DELETED
Binary file (7.1 kB)
 
magicanimate/pipelines/__pycache__/context.cpython-38.pyc DELETED
Binary file (2.04 kB)
 
magicanimate/pipelines/__pycache__/dist_animation.cpython-37.pyc DELETED
Binary file (7.05 kB)
 
magicanimate/pipelines/__pycache__/dist_animation.cpython-38.pyc DELETED
Binary file (7.1 kB)
 
magicanimate/pipelines/__pycache__/pipeline_animation.cpython-38.pyc DELETED
Binary file (21.7 kB)
 
magicanimate/utils/__pycache__/dist_tools.cpython-38.pyc DELETED
Binary file (2.44 kB)
 
magicanimate/utils/__pycache__/util.cpython-38.pyc DELETED
Binary file (4.66 kB)
 
magicanimate/utils/__pycache__/videoreader.cpython-38.pyc DELETED
Binary file (4.9 kB)