Top AI Repos — open-source AI, indexed and scored
Top AI Repos tracks AI repositories on GitHub and answers two different questions about each one: is it moving right now, and would you bet a product on it.
Top AI Repos tracks AI repositories on GitHub and answers two different questions about each one: is it moving right now, and would you bet a product on it.
Code for Motion Representations for Articulated Animation paper
| Date | Stars |
|---|---|
| 2026-07-24 | 1277 |
| 2026-07-25 | 1277 |
| 2026-07-28 | 1277 |
| 2026-07-30 | 1277 |
| 2026-08-06 | 1277 |
Today
— stars today
This week
— stars this week
This month
— stars this month
Momentum
0.0
growth rate 0.00%/day
# Motion Representations for Articulated Animation
This repository contains the source code for the CVPR'2021 paper [Motion Representations for Articulated Animation](https://arxiv.org/abs/2104.11280) by [Aliaksandr Siarohin](https://aliaksandrsiarohin.github.io/aliaksandr-siarohin-website/), [Oliver Woodford](https://ojwoodford.github.io/), [Jian Ren](https://alanspike.github.io/), [Menglei Chai](https://mlchai.com/) and [Sergey Tulyakov](http://www.stulyakov.com/).
For more qualitiative examples visit our [project page](https://snap-research.github.io/articulated-animation/).
## Example animation
Here is an example of several images produced by our method. In the first column the driving video is shown. For the remaining columns the top image is animated by using motions extracted from the driving.

### Installation
We support ```python3```. To install the dependencies run:
```bash
pip install -r requirements.txt
```
### YAML configs
There are several configuration files one for each `dataset` in the `config` folder named as ```config/dataset_name.yaml```. See ```config/dataset.yaml``` to get the description of each parameter.
See description of the parameters in the ```config/vox256.yaml```. We adjust the the configuration to run on 1 V100 GPU, training on 256x256 dataset takes approximatly 2 days.
### Pre-trained checkpoints
Checkpoints can be found in https://drive.google.com/drive/folders/1jCeFPqfU_wKNYwof0ONICwsj3xHlr_tb?usp=sharing.
### Animation Demo
To run a demo, download a checkpoint and run the following command:
```bash
python demo.py --config config/dataset_name.yaml --driving_video path/to/driving --source_image path/to/source --checkpoint path/to/checkpoint
```
The result will be stored in ```result.mp4```. To use Animation via Disentaglemet add ```--mode avd```, for standard animation add ```--mode standard``` instead.
### Colab Demo
We prepared a demo runnable in google-colab, see: ```demo.ipynb```.
### Training
To train a model run:
```bash
CUDA_VISIBLE_DEVICES=0 python run.py --config config/dataset_name.yaml --device_ids 0
```
The code will create a folder in the log directory (each run will create a time-stamped new folder). Checkpoints will be saved to this folder.
To check the loss values during training see ```log.txt```.
You can also check training data reconstructions in the ```train-vis``` subfolder.
Then to train **Animation via disentaglement (AVD)** use:
```bash
CUDA_VISIBLE_DEVICES=0 python run.py --checkpoint log/{folder}/cpk.pth --config config/dataset_name.yaml --device_ids 0 --mode train_avd
```
Where ```{folder}``` is the name of the folder created in the previous step. (Note: use backslash '\' before space.)
This will use the same folder where checkpoint was previously stored.
It will create a new checkpoint containing all the previous models and the trained avd_network.
You can monitor performance in log file and visualizations in train-vis folder.
### Evaluation on video reconstruction
To evaluate the reconstruction performance run:
```bash
CUDA_VISIBLE_DEVICES=0 python run.py --config config/dataset_name.yaml --mode reconstruction --checkpoint log/{folder}/cpk.pth
```
Where ```{folder}``` is the name of the folder created in the previous step. (Note: use backslash '\' before space.)
The ```reconstruction``` subfolder will be created in the checkpoint folder.
The generated video will be stored to this folder, also generated videos will be stored in ```png``` subfolder in loss-less '.png' format for evaluation.
Instructions for computing metrics from the paper can be found [here](https://github.com/AliaksandrSiarohin/pose-evaluation).
### TED dataset
For obtaining TED dataset run the following commands:
```bash
git clone https://github.com/AliaksandrSiarohin/video-preprocessing
cd video-preprocessing
python load_videos.py --metadata ../data/ted384-metadata.csv --format .mp4 --out_folder ../data/TED384-v2 --workers 8 --image_shapeExcerpt of 5,170 characters
Read on GitHub4
2
2
2
1
Would you bet a product on this? Bounded 0–100 and slow moving.
matched fp:03c54a0cb710ffda, topic:deep-learning
matched fp:03c54a0cb710ffda, topic:video-generation