Skip to content

Seunghyun-Dunkin/temp

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 

Repository files navigation

DisCoHead: Audio-and-Video-Driven Talking Head Generation by Disentangled Control of Head Pose and Facial Expressions



Geumbyeol Hwang, Sunwon Hong, Seunghyun Lee, Sungwoo Park, and Gyeongsu Chae.

Requirements

  • CUDA 10.2
  • PyTorch 1.10.0
  • Python 3.7

Installation

You can install environements by 1. or 2.

  1. Copy created conda environment
git clone  https://github.com/deepbrainai-research/discohead
cd discohead
conda env create -f discohead.yaml
conda activate discohead
  1. Install requirements yourself
git clone  https://github.com/deepbrainai-research/discohead
cd discohead
conda env create -n discohead python=3.7
conda activate discohead
conda install pytorch==1.10.0 torchvision==0.11.1 torchaudio==0.10.0 cudatoolkit=10.2 -c pytorch
pip install -r requirements.txt

Generate Demo Results

  • Download the pre-trained checkpoints from google drive and put into weight folder
  • Create the dataset folder.
  • Unzip the dataset_demo.zip to dataset
  • DiscoHead directory should have the following structure
DiscoHead/
├── dataset/
│   ├── obama/
│   │   ├──demo1/
│   │   ├──demo2/
│   ├── grid/
│   │   ├──demo1/
│   │   ├──demo2/
│   ├── koeba/
│   │   ├──demo1/
│   │   ├──demo2/
├── weight/
│   ├── obama.pt
│   ├── grid.pt
│   ├── koeba.pt
‥‥
  • The --mode argument is used for specifying which demo you want to generate
  • To reproduce demo1 of obama dataset, run command :
python test.py -m obama_demo1

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published