FangSen9000 Claude commited on
Commit ·
2b1ceac
1
Parent(s): 0a2e9f2
Add One-to-All-Animation: Batch 2 - Checkpoints
Browse files- Added .gitignore
- Added checkpoints/download_checkpoints.py
- Added checkpoints/One-to-All-1.3b_1/
- Added checkpoints/One-to-All-1.3b_2/ (6.2GB)
- Added checkpoints/One-to-All-14b/
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
- One-to-All-Animation/.gitignore +16 -0
- One-to-All-Animation/checkpoints/One-to-All-1.3b_2/.gitattributes +35 -0
- One-to-All-Animation/checkpoints/One-to-All-1.3b_2/README.md +88 -0
- One-to-All-Animation/checkpoints/One-to-All-1.3b_2/model-00001-of-00002.safetensors +3 -0
- One-to-All-Animation/checkpoints/One-to-All-1.3b_2/model-00002-of-00002.safetensors +3 -0
- One-to-All-Animation/checkpoints/One-to-All-1.3b_2/model.safetensors.index.json +0 -0
- One-to-All-Animation/checkpoints/download_checkpoints.py +41 -0
One-to-All-Animation/.gitignore
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Python
|
| 2 |
+
__pycache__/
|
| 3 |
+
|
| 4 |
+
# IDE
|
| 5 |
+
.vscode/
|
| 6 |
+
.idea/
|
| 7 |
+
*.swp
|
| 8 |
+
*.swo
|
| 9 |
+
|
| 10 |
+
# OS
|
| 11 |
+
.DS_Store
|
| 12 |
+
Thumbs.db
|
| 13 |
+
|
| 14 |
+
# Temporary files
|
| 15 |
+
*.tmp
|
| 16 |
+
*.bak
|
One-to-All-Animation/checkpoints/One-to-All-1.3b_2/.gitattributes
ADDED
|
@@ -0,0 +1,35 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
*.7z filter=lfs diff=lfs merge=lfs -text
|
| 2 |
+
*.arrow filter=lfs diff=lfs merge=lfs -text
|
| 3 |
+
*.bin filter=lfs diff=lfs merge=lfs -text
|
| 4 |
+
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
| 5 |
+
*.ckpt filter=lfs diff=lfs merge=lfs -text
|
| 6 |
+
*.ftz filter=lfs diff=lfs merge=lfs -text
|
| 7 |
+
*.gz filter=lfs diff=lfs merge=lfs -text
|
| 8 |
+
*.h5 filter=lfs diff=lfs merge=lfs -text
|
| 9 |
+
*.joblib filter=lfs diff=lfs merge=lfs -text
|
| 10 |
+
*.lfs.* filter=lfs diff=lfs merge=lfs -text
|
| 11 |
+
*.mlmodel filter=lfs diff=lfs merge=lfs -text
|
| 12 |
+
*.model filter=lfs diff=lfs merge=lfs -text
|
| 13 |
+
*.msgpack filter=lfs diff=lfs merge=lfs -text
|
| 14 |
+
*.npy filter=lfs diff=lfs merge=lfs -text
|
| 15 |
+
*.npz filter=lfs diff=lfs merge=lfs -text
|
| 16 |
+
*.onnx filter=lfs diff=lfs merge=lfs -text
|
| 17 |
+
*.ot filter=lfs diff=lfs merge=lfs -text
|
| 18 |
+
*.parquet filter=lfs diff=lfs merge=lfs -text
|
| 19 |
+
*.pb filter=lfs diff=lfs merge=lfs -text
|
| 20 |
+
*.pickle filter=lfs diff=lfs merge=lfs -text
|
| 21 |
+
*.pkl filter=lfs diff=lfs merge=lfs -text
|
| 22 |
+
*.pt filter=lfs diff=lfs merge=lfs -text
|
| 23 |
+
*.pth filter=lfs diff=lfs merge=lfs -text
|
| 24 |
+
*.rar filter=lfs diff=lfs merge=lfs -text
|
| 25 |
+
*.safetensors filter=lfs diff=lfs merge=lfs -text
|
| 26 |
+
saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
| 27 |
+
*.tar.* filter=lfs diff=lfs merge=lfs -text
|
| 28 |
+
*.tar filter=lfs diff=lfs merge=lfs -text
|
| 29 |
+
*.tflite filter=lfs diff=lfs merge=lfs -text
|
| 30 |
+
*.tgz filter=lfs diff=lfs merge=lfs -text
|
| 31 |
+
*.wasm filter=lfs diff=lfs merge=lfs -text
|
| 32 |
+
*.xz filter=lfs diff=lfs merge=lfs -text
|
| 33 |
+
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
+
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
+
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
One-to-All-Animation/checkpoints/One-to-All-1.3b_2/README.md
ADDED
|
@@ -0,0 +1,88 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: apache-2.0
|
| 3 |
+
pipeline_tag: image-to-video
|
| 4 |
+
library_name: diffusers
|
| 5 |
+
---
|
| 6 |
+
|
| 7 |
+
# One-to-All Animation: Alignment-Free Character Animation and Image Pose Transfer
|
| 8 |
+
|
| 9 |
+
This project aims to provide a unified framework for high-fidelity character animation and image pose transfer for references with arbitrary layouts, addressing limitations in existing diffusion models regarding spatially misaligned reference-pose pairs.
|
| 10 |
+
|
| 11 |
+
- 📚 [Paper](https://huggingface.co/papers/2511.22940)
|
| 12 |
+
- 🌐 [Project Page](https://ssj9596.github.io/one-to-all-animation-project/)
|
| 13 |
+
- 💻 [GitHub Repository](https://github.com/ssj9596/One-to-All-Animation)
|
| 14 |
+
|
| 15 |
+
|
| 16 |
+
## 🎭 Showcase
|
| 17 |
+
|
| 18 |
+
Our model can adapt a single reference image to various motion patterns, demonstrating flexible motion control capabilities.
|
| 19 |
+
|
| 20 |
+
#### 14B Model
|
| 21 |
+
|
| 22 |
+
<table align="center">
|
| 23 |
+
<tr>
|
| 24 |
+
<th style="text-align: center;">Reference</th>
|
| 25 |
+
<th style="text-align: center;">Motion 1</th>
|
| 26 |
+
<th style="text-align: center;">Motion 2</th>
|
| 27 |
+
<th style="text-align: center;">Motion 3</th>
|
| 28 |
+
</tr>
|
| 29 |
+
<tr>
|
| 30 |
+
<td align="center" style="padding: 2px;"><img src="https://github.com/ssj9596/One-to-All-Animation/raw/main/examples/new_examples/1.png" width="100"/></td>
|
| 31 |
+
<td align="center" style="padding: 2px;"><img src="https://github.com/ssj9596/One-to-All-Animation/raw/main/assets/14b_examples/ref_1_motion1.gif" height="250"/></td>
|
| 32 |
+
<td align="center" style="padding: 2px;"><img src="https://github.com/ssj9596/One-to-All-Animation/raw/main/assets/14b_examples/ref_1_motion2.gif" height="250"/></td>
|
| 33 |
+
<td align="center" style="padding: 2px;"><img src="https://github.com/ssj9596/One-to-All-Animation/raw/main/assets/14b_examples/ref_1_motion3.gif" height="250"/></td>
|
| 34 |
+
</tr>
|
| 35 |
+
<tr>
|
| 36 |
+
<td align="center" style="padding: 2px;"><img src="https://github.com/ssj9596/One-to-All-Animation/raw/main/examples/new_examples/2.png" width="100""/></td>
|
| 37 |
+
<td align="center" style="padding: 2px;"><img src="https://github.com/ssj9596/One-to-All-Animation/raw/main/assets/14b_examples/ref_2_motion1.gif" height="250"/></td>
|
| 38 |
+
<td align="center" style="padding: 2px;"><img src="https://github.com/ssj9596/One-to-All-Animation/raw/main/assets/14b_examples/ref_2_motion2.gif" height="250"/></td>
|
| 39 |
+
<td align="center" style="padding: 2px;"><img src="https://github.com/ssj9596/One-to-All-Animation/raw/main/assets/14b_examples/ref_2_motion3.gif" height="250"/></td>
|
| 40 |
+
</tr>
|
| 41 |
+
</table>
|
| 42 |
+
|
| 43 |
+
<br>
|
| 44 |
+
|
| 45 |
+
#### 1.3B Model
|
| 46 |
+
The 1.3 B model also delivers strong performance (from 1.3b_2 ckpt).
|
| 47 |
+
|
| 48 |
+
<table align="center">
|
| 49 |
+
<tr>
|
| 50 |
+
<th style="text-align: center;">Reference</th>
|
| 51 |
+
<th style="text-align: center;">Motion 1</th>
|
| 52 |
+
<th style="text-align: center;">Motion 2</th>
|
| 53 |
+
<th style="text-align: center;">Motion 3</th>
|
| 54 |
+
</tr>
|
| 55 |
+
<tr>
|
| 56 |
+
<td align="center" style="padding: 2px;"><img src="https://github.com/ssj9596/One-to-All-Animation/raw/main/examples/new_examples/3.png" width="100"/></td>
|
| 57 |
+
<td align="center" style="padding: 2px;"><img src="https://github.com/ssj9596/One-to-All-Animation/raw/main/assets/1.3b_examples/ref3_motion1_1.3b.gif" height="250"/></td>
|
| 58 |
+
<td align="center" style="padding: 2px;"><img src="https://github.com/ssj9596/One-to-All-Animation/raw/main/assets/1.3b_examples/ref3_motion2_1.3b.gif" height="250"/></td>
|
| 59 |
+
<td align="center" style="padding: 2px;"><img src="https://github.com/ssj9596/One-to-All-Animation/raw/main/assets/1.3b_examples/ref3_motion3_1.3b.gif" height="250"/></td>
|
| 60 |
+
</tr>
|
| 61 |
+
</table>
|
| 62 |
+
|
| 63 |
+
Also support longer video & out-of-domain cases
|
| 64 |
+
<table align="center">
|
| 65 |
+
<tr>
|
| 66 |
+
<td><img src="./https://github.com/ssj9596/One-to-All-Animation/raw/main/assets/1.3b_examples/combined_video1.gif" height="200"/></td>
|
| 67 |
+
<td> </td>
|
| 68 |
+
<td><img src="./https://github.com/ssj9596/One-to-All-Animation/raw/main/assets/1.3b_examples/combined_video2.gif" height="200"/> </td>
|
| 69 |
+
</tr>
|
| 70 |
+
</table>
|
| 71 |
+
|
| 72 |
+
<br>
|
| 73 |
+
|
| 74 |
+
|
| 75 |
+
## Usage
|
| 76 |
+
|
| 77 |
+
For detailed installation instructions, quick inference examples, and training scripts, please refer to the [GitHub repository](https://github.com/ssj9596/One-to-All-Animation).
|
| 78 |
+
|
| 79 |
+
## Citation
|
| 80 |
+
If you find our work helpful or inspiring, please feel free to cite it.
|
| 81 |
+
```bibtex
|
| 82 |
+
@article{shi2025one,
|
| 83 |
+
title={One-to-All Animation: Alignment-Free Character Animation and Image Pose Transfer},
|
| 84 |
+
author={Shi, Shijun and Xu, Jing and Li, Zhihang and Peng, Chunli and Yang, Xiaoda and Lu, Lijing and Hu, Kai and Zhang, Jiangning},
|
| 85 |
+
journal={arXiv preprint arXiv:2511.22940},
|
| 86 |
+
year={2025}
|
| 87 |
+
}
|
| 88 |
+
```
|
One-to-All-Animation/checkpoints/One-to-All-1.3b_2/model-00001-of-00002.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:abaaf2855453c22bf58f7db7335f16263d2fd80422406a7a6c5e2b55d0179cfd
|
| 3 |
+
size 4987852568
|
One-to-All-Animation/checkpoints/One-to-All-1.3b_2/model-00002-of-00002.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ffbb2f80d16580e68dc2cccc0c6aaf73a89b5f8e61993bccc4dbed0c725141ee
|
| 3 |
+
size 1583583000
|
One-to-All-Animation/checkpoints/One-to-All-1.3b_2/model.safetensors.index.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
One-to-All-Animation/checkpoints/download_checkpoints.py
ADDED
|
@@ -0,0 +1,41 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import os
|
| 2 |
+
# Set HuggingFace mirror
|
| 3 |
+
os.environ['HF_ENDPOINT'] = 'https://hf-mirror.com'
|
| 4 |
+
# export HF_ENDPOINT=https://hf-mirror.com
|
| 5 |
+
from huggingface_hub import snapshot_download
|
| 6 |
+
|
| 7 |
+
os.makedirs("One-to-All-14b", exist_ok=True)
|
| 8 |
+
os.makedirs("One-to-All-1.3b_1", exist_ok=True)
|
| 9 |
+
os.makedirs("One-to-All-1.3b_2", exist_ok=True)
|
| 10 |
+
|
| 11 |
+
print("Using HF Mirror: https://hf-mirror.com")
|
| 12 |
+
print("="*50)
|
| 13 |
+
|
| 14 |
+
|
| 15 |
+
# 1.3b
|
| 16 |
+
# snapshot_download(
|
| 17 |
+
# repo_id="MochunniaN1/One-to-All-1.3b_1",
|
| 18 |
+
# local_dir="./One-to-All-1.3b_1",
|
| 19 |
+
# local_dir_use_symlinks=False,
|
| 20 |
+
# repo_type="model",
|
| 21 |
+
# resume_download=True,
|
| 22 |
+
|
| 23 |
+
# )
|
| 24 |
+
|
| 25 |
+
snapshot_download(
|
| 26 |
+
repo_id="MochunniaN1/One-to-All-1.3b_2",
|
| 27 |
+
local_dir="./One-to-All-1.3b_2",
|
| 28 |
+
local_dir_use_symlinks=False,
|
| 29 |
+
repo_type="model",
|
| 30 |
+
resume_download=True,
|
| 31 |
+
)
|
| 32 |
+
|
| 33 |
+
# 14b
|
| 34 |
+
# snapshot_download(
|
| 35 |
+
# repo_id="MochunniaN1/One-to-All-14b",
|
| 36 |
+
# local_dir="./One-to-All-14b",
|
| 37 |
+
# local_dir_use_symlinks=False,
|
| 38 |
+
# repo_type="model",
|
| 39 |
+
# resume_download=True,
|
| 40 |
+
# )
|
| 41 |
+
|