Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Convolutional Mesh Autoencoders for Generating 3D Faces

License

NotificationsYou must be signed in to change notification settings

anuragranj/coma

Repository files navigation

Generating 3D Faces using Convolutional Mesh Autoencoders

This is an official repository ofGenerating 3D Faces using Convolutional Mesh Autoencoders

[Project Page][Arxiv]

UPDATE : Thank you for using and supporting this repository over the last two years. This will no longer be maintained. Alternatively, please use:

Requirements

This code is tested on Tensorflow 1.3. Requirements (including tensorflow) can be installed using:

pip install -r requirements.txt

Install mesh processing libraries fromMPI-IS/mesh.

Data

Download the data from theProject Page.

Preprocess the data

python processData.py --data<PATH_OF_RAW_DATA> --save_path<PATH_TO_SAVE_PROCESSED DATA>

Data pre-processing creates numpy files for the interpolation experiment and extrapolation experiment (Section X of the paper).This creates 13 different train and test files.sliced_[train|test] is for the interpolation experiment.<EXPRESSION>_[train|test] are for cross validation cross 12 different expression sequences.

Training

To train, specify a name, and choose a particular train test split. For example,

python main.py --data data/sliced --name sliced

Testing

To test, specify a name, and data. For example,

python main.py --data data/sliced --name sliced --modetest

Reproducing results in the paper

Run the following script. The models are slightly better (~1% on average) than ones reported in the paper.

sh generateErrors.sh

Sampling

To sample faces from the latent space, specify a model and data. For example,

python main.py --data data/sliced --name sliced --mode latent

A face template pops up. You can then use the keysqwertyui to sample faces by moving forward in each of the 8 latent dimensions. Useasdfghjk to move backward in the latent space.

For more flexible usage, refer tolib/visualize_latent_space.py.

Acknowledgements

We thankRaffi Enficiaud andAhmed Osman for pushing the release ofpsbody.mesh, an essential dependency for this project.

License

The code contained in this repository is under MIT License and is free for commercial and non-commercial purposes. The dependencies, in particular,MPI-IS/mesh and ourdata have their own license terms which can be found on their respective webpages. The dependencies and data are NOT covered by MIT License associated with this repository.

Related projects

CAPE (CVPR 2020): Based on CoMA, we build a conditional Mesh-VAE-GAN to learn the clothing deformation from the SMPL body model, making a generative, animatable model of people in clothing. A large-scale mesh dataset of clothed humans in motion is also included!

When using this code, please cite

Anurag Ranjan, Timo Bolkart, Soubhik Sanyal, and Michael J. Black. "Generating 3D faces using Convolutional Mesh Autoencoders." European Conference on Computer Vision (ECCV) 2018.

About

Convolutional Mesh Autoencoders for Generating 3D Faces

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp