Skip to content

Experimental hub; various VAE implementations for unsupervised disentanglement of hand pose and shape latent space

Notifications You must be signed in to change notification settings

DaKup/HandPoseShapeVAE

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HandPoseShapeVAE

(not actively maintained)

Experimental framework for unsupervised hand pose and shape disentanglement

Thanks to

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites

What things you need to install the software and how to install them

Setup

(In the following, the working directory should be the same location as this readme file)

Create the following directories:

../data/preprocessed
../models

Download/Save dataset as

../data/MSRA15/P0
...
../data/MSRA15/P8

Preprocess

Import sequences into rendered format

preprocess/import_msra.py --input-dataset "../data/MSRA15" --label-name "msra"

Merge rendered sequences

preprocess/merge_rendered.py

Split dataset into train, validation and test datasets

preprocess/preprocess_rendered.py --input-dataset "../data/msra_merged.npz" --label-name "msra_merged" --random

Train

main.py --basename "HandPoseShapeVAE_MSRA" --model "bvae" --auto-load --auto-save --beta 15.0 --train --train-dir "../data/preprocessed/train_msra_merged.npz" --validation-dir "../data/preprocessed/validate_msra_merged.npz" --test-dir "../data/preprocessed/test_msra_merged.npz"

Test

main.py --basename "HandPoseShapeVAE_MSRA" --model "bvae" --auto-load --auto-save --beta 15.0 --test --train-dir "../data/preprocessed/train_msra_merged.npz" --validation-dir "../data/preprocessed/validate_msra_merged.npz" --test-dir "../data/preprocessed/test_msra_merged.npz"

Experiments

main.py --basename "HandPoseShapeVAE_MSRA" --model "bvae" --auto-load --auto-save --beta 15.0 --experiments --traverse-latents --train-dir "../data/preprocessed/train_msra_merged.npz" --validation-dir "../data/preprocessed/validate_msra_merged.npz" --test-dir "../data/preprocessed/test_msra_merged.npz"
main.py --basename "HandPoseShapeVAE_MSRA" --model "bvae" --auto-load --auto-save --beta 15.0 --experiments --train-joints --train-dir "../data/preprocessed/train_msra_merged.npz" --validation-dir "../data/preprocessed/validate_msra_merged.npz" --test-dir "../data/preprocessed/test_msra_merged.npz"

About

Experimental hub; various VAE implementations for unsupervised disentanglement of hand pose and shape latent space

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages