GithubHelp home page GithubHelp logo

ustcwzy / kitro Goto Github PK

View Code? Open in Web Editor NEW

This project forked from martayang/kitro

0.0 0.0 0.0 47 KB

Codes for the CVPR 2024 paper: "KITRO: Refining Human Mesh by 2D Clues and Kinematic-tree Rotation"

License: MIT License

Python 100.00%

kitro's Introduction

KITRO: Refining Human Mesh by 2D Clues and Kinematic-tree Rotation
(CVPR 2024)

1. Requirements

  • Python 3.6
  • PyTorch 1.10.1

2. Datasets

  • Download the preprocessed data from this link and put in './data' folder.
    • the data structure KITRO desires is as following:
      {
          'imgname'  # image name (list)
          'pred_theta'  # Predicted 3D rotation matrix (shape: [samples, 24, 3, 3])
          'pred_beta'    # Predicted body shape parameters (shape: [samples, 10])
          'pred_cam'      # Predicted camera translation (shape: [samples, 3])
          'intrinsics'  # Intrinsic camera parameters (shape: [samples, 3, 3])
          'keypoints_2d'  # Given 2D keypoints (shape: [samples, 24, 2])
          'GT_pose'        # Ground truth 3D rotation parameters (shape: [samples, 72])
          'GT_beta'        # Ground truth body shape parameters (shape: [samples, 10])
      }

3. Usage

  • Test on 3DPW

    python eval_KITRO.py --data_path 'data/ProcessedData_CLIFFpred_w2DKP_3dpw.pt' >> logs/runkitro_3dpw.out 2>&1
  • Test on Human3.6m

    python eval_KITRO.py --data_path 'data/ProcessedData_CLIFFpred_w2DKP_HM36.pt' >> logs/runkitro_HM36.out 2>&1

Citation

If you find our paper or codes useful, please consider citing our paper:

Acknowledgments

Our codes are based on SPIN, CLIFF, and HybrIK and we really appreciate it.

kitro's People

Contributors

martayang 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.