(not actively maintained)
Experimental framework for unsupervised hand pose and shape disentanglement
Thanks to
- https://github.com/moberweger/deep-prior-pp
- https://github.com/rtqichen/beta-tcvae
- https://github.com/Knight13/beta-VAE-disentanglement
- https://github.com/AntixK/PyTorch-VAE
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.
What things you need to install the software and how to install them
(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
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
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"
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"
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"