---
title: Text2EMotionDiffuse
emoji: ðŸ§
colorFrom: blue
colorTo: red
sdk: gradio
sdk_version: 4.37.1
app_file: text2motion/app.py
pinned: false
license: mit
tags:
- diffusion
- motiondiffuse
- text2motion
- smplx
- smpl
- smpl-x
- smplify-x
---
Extension of MotionDiffuse for SMPLX features.
02456 Deep Learning, DTU Compute, Fall 2023
## Summary
Conditioning human motion on natural language (text-to-motion) is critical for many graphics-based applications, including training neural nets for motion-based tasks like detecting changes in posture for medical applications. Recently diffusion models have become popular for text-to-motion generation, but many are trained on human pose representations that lack face and hand details and thus fall short on prompts that involve emotion or detailed object interaction. To fill this gap, we re-trained the text-to-motion model MotionDiffuse on a new dataset Motion-X, which uses SMPL-X poses to include facial expressions and fully articulated hands.
## Installation
Go to [text2motion/DTU_readme.md](text2motion/dtu_README.md) for installation instructions
## Demo
To demo the model, see the Hugging Face [space](https://huggingface.co/spaces/ellemac/Text2EMotionDiffuse) or
checkout the notebook [text2motion/demo.ipynb](text2motion/demo.ipynb). The notebook will guide you through the process of generating a motion from a text prompt. The same code is also available as a python script [text2motion/demo.py](text2motion/demo.py).\
**Note:** To visualize the output, the `make gen` command must be run from the `text2motion` directory.
## Acknowledgements
The group would like to thank the authors of the original paper for their work and for making their code available. Also, a deep thank you to Frederik Warbug, for his support and technical guidance and to the DTU HPC team for their support with the HPC cluster.