Giter VIP home page Giter VIP logo

smartmocap's Introduction

SmartMocap

Install

Get apptainer

Install apptainer from here

Clone SmartMocap

git clone https://github.com/robot-perception-group/SmartMocap.git
cd SmartMocap

Prepare the container

apptainer build --sandbox ./smartmocap_apptainer apptainer.def
apptainer shell --nv ./smartmocap_apptainer
poetry install

Download data

Download the dataset you want to use and extract the tar file.

Download the pretrained MOP model

Download the MOP pretrained checkpoint file here

Download SMPL model

Download SMPL models from https://smpl.is.tue.mpg.de/

Download vposer model v2.0

Download VPoser model v2.0 from https://smpl-x.is.tue.mpg.de/

Fitting config file

All the hyperparameters and paths need to be set in the file src/mcms/fitting_scripts/fit_config.yml. Descriptions are in the file itself. For quicker execution on a particular dataset, we provide config for each dataset. You still need to set the paths (e.g. dataset path) in these files.

  • SmartMocap data: src/mcms/fitting_scripts/smartmocap_config.yml
  • RICH data: src/mcms/fitting_scripts/rich_config.yml
  • Airpose data: src/mcms/fitting_scripts/airpose_config.yml Replace the content of src/mcms/fitting_scripts/fit_config.yml with the content of any desired dataset config file to run on that dataset.

Fitting

apptainer shell --nv ./smartmocap_apptainer
. .venv/bin/activate
python src/mcms/fitting_scripts/fitting_in_vp_latent_multires.py name_of_the_trial

Results will be in the folder Smartmocap_logs/fittings/name_of_the_trial.

Visualization

Use the scripts src/mcms/eval_scripts/viz.py and src/mcms/eval_scripts/viz_static.py. Edit the data variable in these scripts to pointing to the .npz file generated in the logs directory above.

smartmocap's People

Contributors

nitin-ppnp avatar

Stargazers

 avatar Changwoon Choi avatar 西西吉 avatar Fan Yang avatar Nguyễn Quí Vinh Quang avatar Yiyi Zhang avatar  avatar sanghoon avatar Sergey Prokudin avatar YiChenCityU avatar Frank Zhiyang Dou avatar Mithun Parab avatar  avatar Calvin-Khang Ta avatar Daehee Kim avatar Ge Yongtao avatar  avatar kelvin34501 avatar Pablo Vela avatar Fabien Baradel avatar 爱可可-爱生活 avatar  avatar Hypochondira avatar Snow avatar Qing Shuai avatar  avatar Xianzhong Ma avatar  avatar

Watchers

Aamir Ahmad avatar visonpon avatar Snow avatar Rahul Tallamraju avatar  avatar Stefano Pini avatar Pablo Vela avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.