Code Monkey home page Code Monkey logo

mmlab-pose's Introduction

mmlab-pose

Introduction

This repository serves as tools for using the ap10k model and others from the ViTPose

Here, all you will need is the weights and configs downloaded from ViTPose

Setup

Make sure to do the following, as the packages are required to run the keypoints script:

cd mmcv
pip install -e .

cd ..
cd ViTPose
pip install -e .

Splitting the model

Certain models are grouped with several models being contained in one .pth file, ('+' in the .pth file) you will need to split the model in its parts. To split the model, you will need to run the following command:

python ViTPose/tools/split_model.py --source /path/to/model.pth

Usage

To get and inference keypoints from your model, simply update the pose_config and pose_model in the keypoints.py file.

python keypoints.py path/to/img

Note: the keypoints file is easily extensible and is meant to be adapted to any use case. This repos goal is to provide an easy set up for the packages needed for using ViTPose pretrained models.

mmlab-pose's People

Contributors

jacob411 avatar

Watchers

 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.