Gitee 推荐 | 姿态估计工具箱 MindPose

1,138次阅读
没有评论

MindPose

Introduction |
Installation |
Get Started |
Tutorials |
Model List |
Supported Algorithms |
Notes

Introduction

MindPose is an open-source toolbox for pose estimation based on MindSpore. It collects a series of classic and SoTA vision models, such as HRNet, along with their pre-trained weights and training strategies.

Major Features

  • Easy-to-Use. MindPose decomposes the vision framework into various configurable components. It is easy to customize your data pipeline, models, and learning pipeline with MindPose:
>>> import mindpose
# create a model
>>> network = mindpose.create_network(backbone_name=‘resnet50’, head_name=“simple_baseline_head”)

  • State-of-The-Art. MindPose provides various CNN-based and Transformer-based vision models. Their pretrained weights and performance reports are provided to help users select and reuse the right model.

  • Flexibility and efficiency. MindPose is built on MindSpore which is an efficent DL framework that can be run on different hardware platforms (GPU/CPU/Ascend). It supports both graph mode for high efficiency and pynative mode for flexibility.

Benchmark Results

Installation

Dependency

  • mindspore >= 1.8.1
  • numpy >= 1.21.6
  • scipy >= 1.5.4
  • pyyaml >= 5.4.1
  • pycocotools >= 2.0.6
  • opencv-python >=4.2.0.34, <= 4.5.4.60
  • tqdm >= 4.6.1
  • openmpi 4.1.2 (for distributed mode)

To install the dependency, please run

pip install -r requirements.txt

MindSpore can be easily installed by following the official instructions where you can select your hardware platform for the best fit. To run in distributed mode, openmpi is required to install.

The following instructions assume the desired dependency is fulfilled.

Install with PyPI

The released version of MindPose can be installed via PyPI as follows:

pip install mindpose

Install from Source

The latest version of MindPose can be installed as follows:

pip install git+https://github.com/mindspore-lab/mindpose.git

Notes: MindPose can be installed on Linux and Mac but not on Windows currently.

Get Started

Hands-on Tutorial

TODO

Training

It is easy to train your model on a standard or customized dataset using tools/train.py, where the training strategy is configured with a yaml config file.

  • Config and Training Strategy

You can configure your model and other components by writing a yaml config file. Here is an example of training using a preset yaml file.

mpirun –allow-run-as-root -n 4 python tools/train.py –config configs/hrnet/hrnet_w32_ascend.yaml

  • Train on OpenI Platform

To run training on the OpenI cloud platform:

  1. Create a new training task on the cloud platform.
  2. Use tools/train_on_openi.py as the starting file.
  3. Add run parameter config and specify the path to the yaml config file on the website UI interface.
  4. Fill in other blanks on the website and launch the training task.

Validation

To evalute the model performance, please run tools/eval.py

# validate a trained checkpoint
python tools/eval.py –config=configs/hrnet/hrnet_w32_ascend.yaml –ckpt=/path/to/model.ckpt

Tutorials

TODO

Model List

Currently, MindPose supports the model families listed below. More models with pre-trained weights are under development and will be released soon.

Supported models

Please see configs for the details about model performance and pretrained weights.

Notes

What is New

TODO

How to Contribute

We appreciate all kind of contributions including issues and PRs to make MindPose better.

Please refer to CONTRIBUTING.md for the contributing guideline. Please follow the Model Template and Guideline for contributing a model that fits the overall interface :)

License

This project follows the Apache License 2.0 open-source license.

Acknowledgement

MindPose is an open-source project jointly developed by the MindSpore team.
Sincere thanks to all participating researchers and developers for their hard work on this project.
We also acknowledge the computing resources provided by OpenI.

Citation

If you find this project useful in your research, please consider citing:

@misc{MindSpore Pose 2022,
title={{MindSpore Pose}:MindSpore Pose Toolbox and Benchmark},
author={MindSpore Vision Contributors},
howpublished = {url{https://github.com/mindspore-lab/mindpose/}},
year={2022}
}

Read More 

正文完
可以使用微信扫码关注公众号(ID:xzluomor)
post-qrcode
 0
评论(没有评论)

文心AIGC

2023 年 4 月
 12
3456789
10111213141516
17181920212223
24252627282930
文心AIGC
文心AIGC
人工智能ChatGPT,AIGC指利用人工智能技术来生成内容,其中包括文字、语音、代码、图像、视频、机器人动作等等。被认为是继PGC、UGC之后的新型内容创作方式。AIGC作为元宇宙的新方向,近几年迭代速度呈现指数级爆发,谷歌、Meta、百度等平台型巨头持续布局
文章搜索
热门文章
清库存!DeepSeek突然补全R1技术报告,训练路径首次详细公开

清库存!DeepSeek突然补全R1技术报告,训练路径首次详细公开

清库存!DeepSeek突然补全R1技术报告,训练路径首次详细公开 Jay 2026-01-08 20:18:...
2025最大AI赢家的凡尔赛年度总结,哈萨比斯Jeff Dean联手执笔

2025最大AI赢家的凡尔赛年度总结,哈萨比斯Jeff Dean联手执笔

2025最大AI赢家的凡尔赛年度总结,哈萨比斯Jeff Dean联手执笔 鹭羽 2025-12-24 09:1...
AI Coding新王登场!MiniMax M2.1拿下多语言编程SOTA

AI Coding新王登场!MiniMax M2.1拿下多语言编程SOTA

AI C++oding新王登场!MiniMax M2.1拿下多语言编程SOTA 克雷西 2025-12-24 ...
智能体落地元年,Agent Infra是关键一环|对话腾讯云&Dify

智能体落地元年,Agent Infra是关键一环|对话腾讯云&Dify

智能体落地元年,Agent Infra是关键一环|对话腾讯云&Dify 鹭羽 2025-12-23 1...
最新评论
ufabet ufabet มีเกมให้เลือกเล่นมากมาย: เกมเดิมพันหลากหลาย ครบทุกค่ายดัง
tornado crypto mixer tornado crypto mixer Discover the power of privacy with TornadoCash! Learn how this decentralized mixer ensures your transactions remain confidential.
ดูบอลสด ดูบอลสด Very well presented. Every quote was awesome and thanks for sharing the content. Keep sharing and keep motivating others.
ดูบอลสด ดูบอลสด Pretty! This has been a really wonderful post. Many thanks for providing these details.
ดูบอลสด ดูบอลสด Pretty! This has been a really wonderful post. Many thanks for providing these details.
ดูบอลสด ดูบอลสด Hi there to all, for the reason that I am genuinely keen of reading this website’s post to be updated on a regular basis. It carries pleasant stuff.
Obrazy Sztuka Nowoczesna Obrazy Sztuka Nowoczesna Thank you for this wonderful contribution to the topic. Your ability to explain complex ideas simply is admirable.
ufabet ufabet Hi there to all, for the reason that I am genuinely keen of reading this website’s post to be updated on a regular basis. It carries pleasant stuff.
ufabet ufabet You’re so awesome! I don’t believe I have read a single thing like that before. So great to find someone with some original thoughts on this topic. Really.. thank you for starting this up. This website is something that is needed on the internet, someone with a little originality!
ufabet ufabet Very well presented. Every quote was awesome and thanks for sharing the content. Keep sharing and keep motivating others.
热评文章
易烊千玺的华为绿手机,真的AI了

易烊千玺的华为绿手机,真的AI了

Failed to fetch content Read More 
AI狼人杀大决战!GPT、Qwen、DeepSeek大乱斗,人类高玩汗流浃背

AI狼人杀大决战!GPT、Qwen、DeepSeek大乱斗,人类高玩汗流浃背

AI狼人杀大决战!GPT、Qwen、DeepSeek大乱斗,人类高玩汗流浃背 鹭羽 2025-12-23 14...
长城首个VLA车型发布,魏建军回应「赌上姓氏造车」

长城首个VLA车型发布,魏建军回应「赌上姓氏造车」

长城首个VLA车型发布,魏建军回应「赌上姓氏造车」 贾浩楠 2025-12-23 13:57:25 来源:量子...