Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

This repository contains the necessary code to run the model described in:
https://arxiv.org/abs/2009.02715

DATA

The dataset used on this work and this repository is CLOTH3D, with associated paper.
Path to data has to be specified at 'values.py'. Note that it also asks for the path to preprocessings, described below.

PREPROCESSING

In order to optimize data pipeline, we preprocess template outfits. The code to train the model assumes the preprocessing is done. To perform this preprocessing, check the scripts at 'DeePSD/Preprocessing/'.
  1. outfit.py .OBJ files are encoded as ASCII. To increase efficiency, we store vertex locations as float16 in binary format and faces as int16 in binary format. It also creates an 'outfit.txt' with garments listed in order. Run this first.
  2. edges.py Precomputes list of edges as [v0, v1] as int16 in binary format.
  3. laplacians.py Precomputes laplacian matrices for each outfit.
  4. weights_prior.py For the unsupervised approach. Precomputes blend weights labels by proximity to body in rest pose.

TRAIN

Once all preprocessings have been completed. Just run 'train.py' or 'train_unsupervised.py'.

About

No description, website, or topics provided.

Resources

License

Releases

No releases published

Packages

No packages published

Languages

You can’t perform that action at this time.