IMM
Code for Computer Graphics Forum paper: "Interaction Mix and Match: Synthesizing Close Interaction using Conditional Hierarchical GAN with Multi-Hot Class Embedding "
Install / Use
/learn @Aman-Goel1/IMMREADME
Interaction Mix and Match: Synthesizing Close Interaction using Conditional Hierarchical GAN with Multi-Hot Class Embedding ( Computer Graphics Forum (Proceedings of SCA 2022) )
Aman Goel, Qianhui Men, Edmond S. L. Ho
Synthesizing multi-character interactions is a challenging task due to the complex and varied interactions between the characters. In particular, precise spatiotemporal alignment between characters is required in generating close interactions such as dancing and fighting. Existing work in generating multi-character interactions focuses on generating a single type of reactive motion for a given sequence which result in a lack of variety of the resultant motions. In this paper, we propose a novel way to create realistic skeleton human reactive motions which are not presented in the given dataset by mixing and matching reactive motions. We propose a Conditional Hierarchical Generative Adversarial Network with Multi-Hot Class Embedding to generate the Mix and Match reactive motions from a given input active motion of a sequence. Experiments are conducted on both noisy (depth-based) and high-quality (MoCap-based) interaction datasets. The quantitative and qualitative comparison results show that our approach outperforms the state-of-the-art methods on the given datasets. We also provide an augmented dataset with realistic reactive motions with flexible patterns to stimulate future research in this area.
Paper | Demo
<br/>
Environment
This project is developed and tested on Ubuntu 20.04, Python 3.0+, and Tensorflow 1.5.0. Since the repository is developed based on MSHL22 of Men et al., the environment requirements, installation and dataset preparation process generally follow theirs.
Installation
-
Clone this repository
git clone https://github.com/Aman-Goel1/IMM -
Download the preprocessed SBU dataset and extract it to
./datasets/SBU/normalized_7_fold/
Training
python3 trainsbu.py
Note on reproducibility: Since we didn't fix a random seed, you might not be able to reproduce the same AFD in the paper. But, several runs with different random seeds fell in a similar AFD range.
Matlab animation
Place the motion sequences in /motion and run drawskt_SBU.m
Synthetic Dataset
Download the synthetic dataset. The dataloader has been updated to also load in the synthetic dataset
License
Please see License
Citation
If you find our work useful in your research, please consider citing
@article {10.1111:cgf.14647,
journal = {Computer Graphics Forum},
title = {{Interaction Mix and Match: Synthesizing Close Interaction using Conditional Hierarchical GAN with Multi-Hot Class Embedding}},
author = {Goel, Aman and Men, Qianhui and Ho, Edmond S. L.},
year = {2022},
publisher = {The Eurographics Association and John Wiley & Sons Ltd.},
ISSN = {1467-8659},
DOI = {10.1111/cgf.14647}
}
Please feel free to contact us (aman.goel@students.iiit.ac.in) with any questions or concerns.
Acknowledgement
The codebase is developed based on MSHL22 of Men et al.
Related Skills
node-connect
349.0kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
109.4kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
349.0kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
349.0kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
